Packagefeathers.core
Interfacepublic interface IToggle extends IFeathersControl
Implementors Button

An interface for something that may be selected.



Public Properties
 PropertyDefined By
 InheritedisEnabled : Boolean
Indicates whether the control is interactive or not.
IFeathersControl
 InheritedisInitialized : Boolean
[read-only] Determines if the component has been initialized yet.
IFeathersControl
  isSelected : Boolean
Indicates if the IToggle is selected or not.
IToggle
 InheritedmaxHeight : Number
The maximum recommended height to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritedmaxWidth : Number
The maximum recommended width to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritedminHeight : Number
The minimum recommended height to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritedminWidth : Number
The minimum recommended width to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritednameList : TokenList
[read-only] Contains a list of all "names" assigned to this control.
IFeathersControl
Public Methods
 MethodDefined By
 Inherited
setSize(width:Number, height:Number):void
Sets both the width and the height of the control.
IFeathersControl
 Inherited
validate():void
Immediately validates the control, which triggers a redraw, if one is pending.
IFeathersControl
Events
 Event Summary Defined By
  Dispatched when the selection changes.IToggle
Property Detail
isSelectedproperty
isSelected:Boolean

Indicates if the IToggle is selected or not.


Implementation
    public function get isSelected():Boolean
    public function set isSelected(value:Boolean):void
Event Detail
change Event
Event Object Type: starling.events.Event
Event.type property = starling.events.Event.CHANGE

Dispatched when the selection changes.

An event type to be utilized in custom events. Not used by Starling right now.