Packagecom.gestureworks.cml.element
Classpublic class ButtonElement
InheritanceButtonElement Inheritance Container Inheritance ContainerDisplay Inheritance ElementFactory Inheritance flash.display.Sprite



Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] Sets minimum scale of the display object in pixels
ElementFactory
 Inheritedbottom : Number
ElementFactory
 InheritedchildList : LinkedMap
[read-only]
ContainerDisplay
 Inheritedclass_ : String
Object's css class;
ElementFactory
 InheritedclassName : String
ElementFactory
 InheritedcmlIndex : int
ElementFactory
 InheriteddebugStyle : *
ElementFactory
 InheriteddimensionsTo : String
ContainerDisplay
  dispatch : String
Sets type of button, returned in the down event string
ButtonElement
  dispatchDefault : Boolean = false
ButtonElement
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 InheritedfixedScale : Boolean
ElementFactory
 Inheritedheight : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedheightPercent : String
ElementFactory
  hit : String
Sets hit object
ButtonElement
  hitObject : *
ButtonElement
 InheritedhorizontalCenter : Number
ElementFactory
 Inheritedid : String
ElementFactory
 Inheritedindex : int
ElementFactory
 InheritedinfoSource : String
ContainerDisplay
  init : String
Sets button state association with mouse down event
ButtonElement
 Inheritedlayout : String
Container
 Inheritedleft : Number
ElementFactory
 InheritedmaxScale : Number
Sets maximum scale of the display object in pixels
ElementFactory
 InheritedminScale : Number
Sets minimum scale of the display object in pixels
ElementFactory
  mouseDown : String
Sets button state association with mouse down event
ButtonElement
  mouseOut : String
Sets button state association with mouse out event
ButtonElement
  mouseOver : String
Sets button state association with mouse over event
ButtonElement
  mouseUp : String
Sets button state association with mouse up event
ButtonElement
 InheritedpaddingBottom : Number
Container
 InheritedpaddingLeft : Number
Container
 InheritedpaddingRight : Number
Container
 InheritedpaddingTop : Number
Container
 Inheritedposition : String
Container
 InheritedpropertyStates : Array
ElementFactory
 Inheritedright : Number
ElementFactory
 Inheritedscale : Number
Scales display object
ElementFactory
 InheritedscaleX : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedscaleY : Number
[override] Sets width of the display object in pixels
ElementFactory
 Inheritedtop : Number
ElementFactory
  touchDown : String
Sets button state association with touch down event
ButtonElement
  touchUp : String
Sets button state association with touch up event
ButtonElement
 InheritedverticalCenter : Number
ElementFactory
 Inheritedwidth : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedwidthPercent : String
ElementFactory
Protected Properties
 PropertyDefined By
  buttonStates : Dictionary
ButtonElement
  debug : Boolean = true
ButtonElement
Public Methods
 MethodDefined By
  
ButtonElement
 Inherited
ContainerDisplay
 Inherited
childToList(id:String, child:*):void
ContainerDisplay
 Inherited
clone():Object
Returns clone of self
ElementFactory
  
[override] CML display initialization callback
ButtonElement
 Inherited
dispose():void
[override]
ContainerDisplay
 Inherited
getIndex(index:int):*
Container
 Inherited
getKey(key:String):*
Container
 Inherited
hideIndex(index:int):void
Container
 Inherited
hideKey(key:String):void
Container
 Inherited
parseCML(cml:XMLList):XMLList
ElementFactory
 Inherited
postparseCML(cml:XMLList):void
ElementFactory
 Inherited
print(value:*):void
Prints to console
ElementFactory
 Inherited
ContainerDisplay
 Inherited
showIndex(index:int):void
Container
 Inherited
showKey(key:String):void
Container
 Inherited
updateProperties(state:Number = 0):void
ElementFactory
Protected Methods
 MethodDefined By
 Inherited
commitUI():void
ElementFactory
 Inherited
createUI():void
ElementFactory
 Inherited
layoutUI():void
ElementFactory
 Inherited
updateUI():void
ElementFactory
Property Detail
buttonStatesproperty
protected var buttonStates:Dictionary

debugproperty 
protected var debug:Boolean = true

dispatchproperty 
dispatch:String

Sets type of button, returned in the down event string


Implementation
    public function get dispatch():String
    public function set dispatch(value:String):void
dispatchDefaultproperty 
public var dispatchDefault:Boolean = false

hitproperty 
hit:String

Sets hit object


Implementation
    public function get hit():String
    public function set hit(value:String):void
hitObjectproperty 
public var hitObject:*

initproperty 
init:String

Sets button state association with mouse down event


Implementation
    public function get init():String
    public function set init(value:String):void
mouseDownproperty 
mouseDown:String

Sets button state association with mouse down event


Implementation
    public function get mouseDown():String
    public function set mouseDown(value:String):void
mouseOutproperty 
mouseOut:String

Sets button state association with mouse out event


Implementation
    public function get mouseOut():String
    public function set mouseOut(value:String):void
mouseOverproperty 
mouseOver:String

Sets button state association with mouse over event


Implementation
    public function get mouseOver():String
    public function set mouseOver(value:String):void
mouseUpproperty 
mouseUp:String

Sets button state association with mouse up event


Implementation
    public function get mouseUp():String
    public function set mouseUp(value:String):void
touchDownproperty 
touchDown:String

Sets button state association with touch down event


Implementation
    public function get touchDown():String
    public function set touchDown(value:String):void
touchUpproperty 
touchUp:String

Sets button state association with touch up event


Implementation
    public function get touchUp():String
    public function set touchUp(value:String):void
Constructor Detail
ButtonElement()Constructor
public function ButtonElement()



Method Detail
displayComplete()method
override public function displayComplete():void

CML display initialization callback