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

Package | org.apache.flex.html.beads.models
Class | public class ToggleButtonModel
Inheritance | ToggleButtonModel EventDispatcher flash.events.EventDispatcher
Implements | IBead, IToggleButtonModel, ITextModel
Subclasses | ValueToggleButtonModel

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ToggleButtonModel class bead holds values for org.apache.flex.html.Buttons that have a state.

Public Properties

| Property | Defined By
--- | --- | ---
|  | html : String The HTML string for the Button's label. The html formatted text displayed in the control. | ToggleButtonModel
|  | selected : Boolean Whether or not the org.apache.flex.html.Button is selected. true if the button is selected. | ToggleButtonModel
|  | strand : IStrand [write-only] The host component for this bead. | ToggleButtonModel
|  | text : String The text string for the org.apache.flex.html.Button's label. The text displayed in the control. | ToggleButtonModel

Public Methods

| Method | Defined By
--- | --- | ---
|  | ToggleButtonModel() constructor. | ToggleButtonModel

Property Detail

html | property

`html:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The HTML string for the Button's label.

The html formatted text displayed in the control.
Implementation
`public function get html():String`
`public function set html(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 org.apache.flex.html.Button is selected.

`true` if the button is selected.
Implementation
`public function get selected():Boolean`
`public function set selected(value:Boolean):void`

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):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 text string for the org.apache.flex.html.Button's label.

The text displayed in the control.
Implementation
`public function get text():String`
`public function set text(value:String):void`
Constructor Detail

ToggleButtonModel | () | Constructor

`public function ToggleButtonModel()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

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