The UIButtonBase class is the base class for most Buttons in a FlexJS
application. In Flash, these buttons extend SimpleButton and therefore
do not support all of the Sprite APIs.
Set a different class for click events so that there aren't dependencies on the flash classes on the JS side.
UIButtonBase
Property Detail
$height
property
$height:Number [read-only]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Retrieve the low-level bounding box height.
Implementation protected function get $height():Number
$width
property
$width:Number [read-only]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Retrieve the low-level bounding box width.
Implementation protected function get $width():Number
$x
property
$x:Number [read-only]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Retrieve the low-level bounding box x.
Implementation protected function get $x():Number
$y
property
$y:Number [read-only]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Retrieve the low-level bounding box y.
Implementation protected function get $y():Number
beads
property
public var beads:Array
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The array property that is used to add additional
beads to an MXML tag. From ActionScript, just
call addBead directly.
className
property
className:String
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The classname. Often used for CSS
class selector lookups.
Implementation public function get className():String public function set className(value:String):void
element
property
element:Object [read-only]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Each IUIBase has an element that is actually added to
the platform's display list DOM. It may not be the actual
component itself.
Implementation public function get element():Object
height
property
height:Number[override]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The width of the component. If no width has been previously
set the default width may be specified in the IValuesImpl
or determined as the bounding box around all child
components and graphics.
Implementation public function get height():Number public function set height(value:Number):void
id
property
id:String
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
An id property for MXML documents.
Implementation public function get id():String public function set id(value:String):void
An IBeadModel that serves as the data model for the component.
Implementation public function get model():IBeadModel public function set model(value:IBeadModel):void
width
property
width:Number[override]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The width of the component. If no width has been previously
set the default width may be specified in the IValuesImpl
or determined as the bounding box around all child
components and graphics.
Implementation public function get width():Number public function set width(value:Number):void
x
property
x:Number[override]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Implementation public function get x():Number public function set x(value:Number):void
y
property
y:Number[override]
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Implementation public function get y():Number public function set y(value:Number):void
Constructor Detail
UIButtonBase
()
Constructor
public function UIButtonBase(upState:DisplayObject = null, overState:DisplayObject = null, downState:DisplayObject = null, hitTestState:DisplayObject = null)