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.
Not implemented in JS.
Implementation public 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.
Not implemented in JS.
Implementation public 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
explicitHeight
property
explicitHeight:Number
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The explicitly set width (as opposed to measured width
or percentage width).
Implementation public function get explicitHeight():Number public function set explicitHeight(value:Number):void
explicitWidth
property
explicitWidth:Number
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The explicitly set width (as opposed to measured width
or percentage width).
Implementation public function get explicitWidth():Number public function set explicitWidth(value:Number):void
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
percentHeight
property
percentHeight:Number
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The requested percentage height this component
should have in the parent container. Note that
the actual percentage may be different if the
total is more than 100% or if there are other
components with explicitly set heights.
Implementation public function get percentHeight():Number public function set percentHeight(value:Number):void
percentWidth
property
percentWidth:Number
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The requested percentage width this component
should have in the parent container. Note that
the actual percentage may be different if the
total is more than 100% or if there are other
components with explicitly set widths.
Implementation public function get percentWidth():Number public function set percentWidth(value:Number):void
An IBeadView that serves as the view for the component.
Implementation public function get view():IBeadView public function set view(value:IBeadView):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)