API Documentation
Classes
- _global_
- GLGE
- GLGE.Action
- GLGE.ActionChannel
- GLGE.Animatable
- GLGE.AnimationCurve
- GLGE.AnimationVector
- GLGE.Assets
- GLGE.BezTriple
- GLGE.Camera
- GLGE.Collada
- GLGE.Document
- GLGE.DocumentPreloader
- GLGE.Events
- GLGE.FilePreloader
- GLGE.FilterAO
- GLGE.FilterGlow
- GLGE.Group
- GLGE.GUI
- GLGE.HeightMap
- GLGE.JSONLoader
- GLGE.KeyInput
- GLGE.Light
- GLGE.LinearPoint
- GLGE.Material
- GLGE.MaterialLayer
- GLGE.MD2
- GLGE.Mesh
- GLGE.Message
- GLGE.MouseInput
- GLGE.MultiMaterial
- GLGE.Object
- GLGE.ObjectLod
- GLGE.ParticleSystem
- GLGE.PhysicsAbstract
- GLGE.PhysicsBox
- GLGE.PhysicsCar
- GLGE.PhysicsConstraintPoint
- GLGE.PhysicsMesh
- GLGE.PhysicsPlane
- GLGE.PhysicsSphere
- GLGE.PhysicsWheel
- GLGE.Placeable
- GLGE.QuickNotation
- GLGE.Renderer
- GLGE.Scene
- GLGE.Sphere
- GLGE.StepPoint
- GLGE.Text
- GLGE.Texture
- GLGE.TextureCamera
- GLGE.TextureCanvas
- GLGE.TextureCube
- GLGE.TextureVideo
- GLGE.Wavefront
- GUI.Gadget
- GUI.Preloader
- GUI.Progressbar
- GUI.Widget
Gadget Gadgets are more complex widgets. One could think of them as windows. They may contain widgets.
Defined in: gadget.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
|
addToDOM(element, position)
Add Gadget to DOM
|
|
|
setPosition(position)
This function sets the position of the gadget
|
|
|
updatePosition(position)
This function changes css attributes in order to position the gadget
|
Method Detail
addToDOM(element, position)
Add Gadget to DOM
- Parameters:
- {object} element
- Parent element of the gadget
- {object} position Optional
- position.x, possible values: "left", "middle", "right"
position.y, possible values: "top", "middle", "bottom"
setPosition(position)
This function sets the position of the gadget
- Parameters:
- {object} position
- position.x, possible values: "left", "middle", "right", number
position.y, possible values: "top", "middle", "bottom", number
updatePosition(position)
This function changes css attributes in order to position the gadget
- Parameters:
- {object} position
- position.x, possible values: "left", "middle", "right"
position.y, possible values: "top", "middle", "bottom"
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)