| Package | lunas |
| Interface | public interface Button extends Data, Focusable, Labelable, Groupable |
| Implementors | CoreButton |
| Property | Defined By | ||
|---|---|---|---|
![]() | data : *
Indicates the data value object of the component. | Data | |
![]() | group : Boolean
Indicates with a boolean if this object is grouped. | Groupable | |
![]() | groupName : String
Indicates the name of the group of this object. | Groupable | |
![]() | label : String
Indicates the string representation of the label. | Labelable | |
![]() | selected : Boolean
A flag that indicates whether this control is selected. | Focusable | |
| toggle : Boolean
Indicates a boolean value indicating whether the button behaves as a toggle switch (true) or not (false). | Button | ||
| Method | Defined By | ||
|---|---|---|---|
setSelected(b:Boolean, options:* = null):void
Sets a boolean value indicating whether the button is selected (true) or not (false). | Button | ||
| toggle | property |
toggle:BooleanIndicates a boolean value indicating whether the button behaves as a toggle switch (true) or not (false).
public function get toggle():Boolean public function set toggle(value:Boolean):void| setSelected | () | method |
public function setSelected(b:Boolean, options:* = null):voidSets a boolean value indicating whether the button is selected (true) or not (false).
Parameters
b:Boolean — The selected flag value.
| |
options:* (default = null) — The optional flag to control the method (default null).
|