Sprite |
WidgetSprite |
9 other children |
Base class for widgets to enable/disable event listeners and keep a global tab order of all widgets (provided they are created and registered in tab order.
| WidgetSprite | Base class for widgets to enable/disable event listeners and keep a global tab order of all widgets (provided they are created and registered in tab order. |
| Variables | |
| widgets | A static associative table indexed by owner of arrays of WidgetSprite instances belonging to the owner. |
| registerCount | Count of number of widgets that have been registered. |
| instanceOwner | The registered owner of this WidgetSprite instance |
| activeState | Stores whether the widget is active or inactive. |
| Properties | |
| isActive | Indicates whether the widget is active or not. |
| Functions | |
| setActive | Sets the state of the widget to active or inactive. |
| register | Register the owner of a widget. |
| unregister | Removes the registered ownership of a widget. |
| setOwnerActive | Sets all widgets registered to owner to the given state. |
| isOwnerActive | Gets the state of a widget owner. |
| toString | Describes the widget sprite class state. |
A static associative table indexed by owner of arrays of WidgetSprite instances belonging to the owner.
private static var widgets: Object
Count of number of widgets that have been registered.
private static var registerCount: int
The registered owner of this WidgetSprite instance
private var instanceOwner: String
Stores whether the widget is active or inactive.
private var activeState: Boolean
Indicates whether the widget is active or not.
public function get isActive():Boolean
Sets the state of the widget to active or inactive.
public function setActive( state: Boolean ):void
Register the owner of a widget.
public function register( owner: String ):void
Removes the registered ownership of a widget.
public function unregister():void
Sets all widgets registered to owner to the given state.
public static function setOwnerActive( owner: String, state: Boolean ):void
Gets the state of a widget owner.
public static function isOwnerActive( owner: String ):Boolean
Describes the widget sprite class state.
public static function toString():String