Package | com.gestureworks.cml.element |
Class | public class ButtonElement |
Inheritance | ButtonElement Button Container ContainerFactory ElementFactory flash.display.Sprite |
See also
Method | Defined By | ||
---|---|---|---|
ButtonElement | |||
addAllChildren():void
This method searches the childlist and add the children
| ContainerFactory | ||
addChild(child:DisplayObject):DisplayObject [override]
Adds child to display list and, if not already added, the child list
TODO: This mechanism should be abstracted to better syncrhonize child and display lists
| Container | ||
applyLayout(value:* = null):void
Apply the containers layout
| Container | ||
childToList(id:String, child:*):void
this method append to the childlist
| ContainerFactory | ||
clone():* [override]
Returns clone of self
| Button | ||
displayComplete():void [override] | Button | ||
dispose():void [override]
Destructor
| Button | ||
getIndex(index:int):*
returns childlist index
| Container | ||
getKey(key:String):*
returns the childlist key
| Container | ||
hideIndex(index:int):void
hides the childlist index
| Container | ||
hideKey(key:String):void
hides the childlist key
| Container | ||
init():void [override]
Initialization function
| Button | ||
onFlip(e:StateEvent):void | Button | ||
parseCML(cml:XMLList):XMLList [override]
Parse cml for local layouts. | Container | ||
postparseCML(cml:XMLList):void
post parses the cml file
| ElementFactory | ||
reset():void | Button | ||
runToggle():void | Button | ||
searchChildren(value:*, returnType:Class = null):*
This method does a depth first search of childLists. | Container | ||
setDimensionsToChild():void
This method sets the dimensions of childlist
| ContainerFactory | ||
showIndex(index:int):void
shows the childlist index
| Container | ||
showKey(key:String):void
shows the childlist key
| Container | ||
updateLayout():void
Updates dimensions
| Button | ||
updateProperties(state:Number = 0):void
this method updates the properties
| ElementFactory |