The RadioButton class is a component that displays a selectable Button. RadioButtons
are typically used in groups, identified by the groupName property. RadioButton use
the following beads:
org.apache.flex.core.IBeadModel: the data model, which includes the groupName.
org.apache.flex.core.IBeadView: the bead that constructs the visual parts of the RadioButton..
The name of the group. Only one RadioButton in a group is selected.
Implementation public function get groupName():String public function set groupName(value:String):void
selected
property
selected:Boolean
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
Whether or not the RadioButton instance is selected. Setting this property
causes the currently selected RadioButton in the same group to lose the
selection.
Implementation public function get selected():Boolean public function set selected(value:Boolean):void
selectedValue
property
selectedValue:Object
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The group's currently selected value.
Implementation public function get selectedValue():Object public function set selectedValue(value:Object):void
text
property
text:String
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The string used as a label for the RadioButton.
Implementation public function get text():String public function set text(value:String):void
value
property
value:Object
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The value associated with the RadioButton. For example, RadioButtons with labels,
"Red", "Green", and "Blue" might have the values 0, 1, and 2 respectively.
Implementation public function get value():Object public function set value(value:Object):void
Constructor Detail
RadioButton
()
Constructor
public function RadioButton(upState:DisplayObject = null, overState:DisplayObject = null, downState:DisplayObject = null, hitTestState:DisplayObject = null)