Packageorg.apache.flex.html
Classpublic class RadioButton
InheritanceRadioButton Inheritance UIButtonBase Inheritance flash.display.SimpleButton
Implements IStrand
Subclasses RadioButton, RadioButton

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

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..



Public Properties
 PropertyDefined By
 Inheritedbeads : Array
The array property that is used to add additional beads to an MXML tag.
UIButtonBase
 InheritedclassName : String
The classname.
UIButtonBase
 Inheritedelement : Object
[read-only] Each IUIBase has an element that is actually added to the platform's display list DOM.
UIButtonBase
  groupName : String
The name of the group.
RadioButton
 Inheritedheight : Number
[override] The width of the component.
UIButtonBase
 Inheritedid : String
An id property for MXML documents.
UIButtonBase
 InheritedmeasurementBead : IMeasurementBead
[read-only] A measurement bead, if one exists.
UIButtonBase
 Inheritedmodel : IBeadModel
An IBeadModel that serves as the data model for the component.
UIButtonBase
  selected : Boolean
Whether or not the RadioButton instance is selected.
RadioButton
  selectedValue : Object
The group's currently selected value.
RadioButton
  text : String
The string used as a label for the RadioButton.
RadioButton
  value : Object
The value associated with the RadioButton.
RadioButton
 Inheritedwidth : Number
[override] The width of the component.
UIButtonBase
 Inheritedx : Number
[override]
UIButtonBase
 Inheritedy : Number
[override]
UIButtonBase
Protected Properties
 PropertyDefined By
 Inherited$height : Number
[read-only] Retrieve the low-level bounding box height.
UIButtonBase
 Inherited$width : Number
[read-only] Retrieve the low-level bounding box width.
UIButtonBase
 Inherited$x : Number
[read-only] Retrieve the low-level bounding box x.
UIButtonBase
 Inherited$y : Number
[read-only] Retrieve the low-level bounding box y.
UIButtonBase
  dict : Dictionary
[static]
RadioButton
Public Methods
 MethodDefined By
  
RadioButton(upState:DisplayObject = null, overState:DisplayObject = null, downState:DisplayObject = null, hitTestState:DisplayObject = null)
constructor.
RadioButton
 Inherited
addBead(bead:IBead):void
Add a bead to the strand.
UIButtonBase
 Inherited
UIButtonBase
 Inherited
getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand.
UIButtonBase
 Inherited
Remove a bead from the strand.
UIButtonBase
Events
 Event Summary Defined By
  RadioButton
 InheritedSet a different class for click events so that there aren't dependencies on the flash classes on the JS side.UIButtonBase
Property Detail
dictproperty
protected static var dict:Dictionary

groupNameproperty 
groupName:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

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
selectedproperty 
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
selectedValueproperty 
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
textproperty 
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
valueproperty 
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)

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

constructor.

Parameters
upState:DisplayObject (default = null)
 
overState:DisplayObject (default = null)
 
downState:DisplayObject (default = null)
 
hitTestState:DisplayObject (default = null)
Event Detail
change Event
Event Object Type: org.apache.flex.events.Event