Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IValueToggleButtonModel

Package | org.apache.flex.core
Interface | public interface IValueToggleButtonModel extends IToggleButtonModel, IBeadModel, IBead, IEventDispatcher
Implementors | ValueToggleButtonModel

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IValueToggleButtonModel interface describes the minimum set of properties available each ToggleButton in a group of ToggleButtons of which only one can be selected at a time.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | groupName : String The name of the group that this ToggleButton belongs to. | IValueToggleButtonModel
|  | html : String The html formatted text displayed in the control. | IToggleButtonModel
|  | selected : Boolean true if the button is selected. | IToggleButtonModel
|  | selectedValue : Object A value associated with the instance of the ToggleButton that is currently selected. | IValueToggleButtonModel
|  | text : String The text displayed in the control. | IToggleButtonModel
|  | value : Object A value associated with this instance of the ToggleButton. | IValueToggleButtonModel

Property Detail

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 that this ToggleButton belongs to.

Implementation
`public function get groupName():String`
`public function set groupName(value:String):void`

selectedValue | property |

`selectedValue:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

A value associated with the instance of the ToggleButton that is currently selected. It may not be this ToggleButton. This means that you can get the selected value from any instance of a ToggleButton in the group.

Implementation
`public function get selectedValue():Object`
`public function set selectedValue(value:Object):void`

value | property |

`value:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

A value associated with this instance of the ToggleButton.

Implementation
`public function get value():Object`
`public function set value(value:Object):void`

Mon Sep 5 2016, 07:19 AM -07:00