Package | ardisia.components.toggleSwitchDesktop |
Class | public class ToggleSwitchDesktop |
Inheritance | ToggleSwitchDesktop spark.components.ToggleButton |
Nearly all the logic is contained within the skin. Should rework to get the logic and animation in the host component and leave the skin focused on the visuals, like the other components in the Ardisia Component Set. Bit ugly as it stands currently.
View the technical documentation on the Ardisia Labs website for more information.
Default MXML Propertylabel
Property | Defined By | ||
---|---|---|---|
labelNotSelected : String
The text to display when the button is in an un-selected state. | ToggleSwitchDesktop | ||
labelSelected : String
The text to display when the button is in a selected state. | ToggleSwitchDesktop |
Method | Defined By | ||
---|---|---|---|
ToggleSwitchDesktop |
Method | Defined By | ||
---|---|---|---|
updateLabelParts():void
Update the label skin parts. | ToggleSwitchDesktop |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
labelNotSelected | property |
labelNotSelected:String
The text to display when the button is in an un-selected state.
This property is bindable.
The default value is "OFF"
.
This property can be used as the source for data binding.
public function get labelNotSelected():String
public function set labelNotSelected(value:String):void
labelSelected | property |
labelSelected:String
The text to display when the button is in a selected state.
This property is bindable.
The default value is "ON"
.
This property can be used as the source for data binding.
public function get labelSelected():String
public function set labelSelected(value:String):void
ToggleSwitchDesktop | () | Constructor |
public function ToggleSwitchDesktop()
updateLabelParts | () | method |
protected function updateLabelParts():void
Update the label skin parts.