| Package | org.apache.flex.html |
| Class | public class RadioButton |
| Inheritance | RadioButton UIButtonBase 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 |
| Property | Defined By | ||
|---|---|---|---|
![]() | $height : Number [read-only]
Retrieve the low-level bounding box height. | UIButtonBase | |
![]() | $width : Number [read-only]
Retrieve the low-level bounding box width. | UIButtonBase | |
![]() | beads : Array
The array property that is used to add additional
beads to an MXML tag. | UIButtonBase | |
![]() | className : String
The classname. | UIButtonBase | |
![]() | element : IFlexJSElement [read-only]
Each IUIBase has an element that is actually added to
the platform's display list DOM. | UIButtonBase | |
![]() | explicitHeight : Number
The explicitly set width (as opposed to measured width
or percentage width). | UIButtonBase | |
![]() | explicitWidth : Number
The explicitly set width (as opposed to measured width
or percentage width). | UIButtonBase | |
| groupName : String
The name of the group. | RadioButton | ||
![]() | height : Number [override]
The width of the component. | UIButtonBase | |
![]() | id : String
An id property for MXML documents. | UIButtonBase | |
![]() | measurementBead : IMeasurementBead [read-only]
A measurement bead, if one exists. | UIButtonBase | |
![]() | model : Object
An IBeadModel that serves as the data model for the component. | UIButtonBase | |
![]() | percentHeight : Number
The requested percentage height this component
should have in the parent container. | UIButtonBase | |
![]() | percentWidth : Number
The requested percentage width this component
should have in the parent container. | UIButtonBase | |
| selected : Boolean
Whether or not the RadioButton instance is selected. | RadioButton | ||
| selectedValue : Object
The group's currently selected value. | RadioButton | ||
![]() | style : Object
The object that contains
"styles" and other associated
name-value pairs. | UIButtonBase | |
![]() | styleString : String [write-only]
The styles for this object formatted
as an HTML style attribute. | UIButtonBase | |
| text : String
The string used as a label for the RadioButton. | RadioButton | ||
![]() | topMostEventDispatcher : IEventDispatcher [read-only]
The top most event dispatcher. | UIButtonBase | |
![]() | typeNames : String
A list of type names. | UIButtonBase | |
| value : Object
The value associated with the RadioButton. | RadioButton | ||
![]() | view : IBeadView
An IBeadView that serves as the view for the component. | UIButtonBase | |
![]() | width : Number [override]
The width of the component. | UIButtonBase | |
| Property | Defined By | ||
|---|---|---|---|
![]() | $y : Number [read-only]
Retrieve the low-level bounding box y. | UIButtonBase | |
| dict : Dictionary [static] | RadioButton | ||
| Method | Defined By | ||
|---|---|---|---|
RadioButton(upState:DisplayObject = null, overState:DisplayObject = null, downState:DisplayObject = null, hitTestState:DisplayObject = null)
constructor. | RadioButton | ||
![]() |
Add a bead to the strand. | UIButtonBase | |
![]() | addedToParent():void | UIButtonBase | |
![]() | getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand. | UIButtonBase | |
![]() | isHeightSizedToContent():Boolean | UIButtonBase | |
![]() | isWidthSizedToContent():Boolean | UIButtonBase | |
![]() |
Remove a bead from the strand. | UIButtonBase | |
![]() | setHeight(value:Number, noEvent:Boolean = false):void | UIButtonBase | |
![]() | setWidth(value:Number, noEvent:Boolean = false):void | UIButtonBase | |
![]() | setWidthAndHeight(newWidth:Number, newHeight:Number, noEvent:Boolean = false):void | UIButtonBase | |
![]() | setX(value:Number):void | UIButtonBase | |
![]() | setY(value:Number):void | UIButtonBase | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| RadioButton | ||||
![]() | Set a different class for click events so that there aren't dependencies on the flash classes on the JS side. | UIButtonBase | ||
| dict | property |
protected static var dict:Dictionary| groupName | property |
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.
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.
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.
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.
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.
public function get value():Object public function set value(value:Object):void| 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.
ParametersupState:DisplayObject (default = null) | |
overState:DisplayObject (default = null) | |
downState:DisplayObject (default = null) | |
hitTestState:DisplayObject (default = null) |
| change | Event |