WidgetTemplate |
Use this template to create a new widget with the required interface.
TODO: Name and describe the new widget.
| WidgetTemplate | Use this template to create a new widget with the required interface. |
| Constructor | |
| WidgetTemplate | Create a new widget |
| WidgetInterface | |
| active | Sets the state of the widget to active or inactive. |
| activate | Activates the widget, adds its event listeners |
| disactivate | Disactivates the widget, removes its event listeners |
| dispose | Dispose of all resources used or referenced in the instance. |
| destructor | Removes used resources, references and graphics |
Create a new widget
public function WidgetTemplate( owner: String, ... )
Sets the state of the widget to active or inactive.
public function set active( state: Boolean ):void
Activates the widget, adds its event listeners
private function activate():void
Disactivates the widget, removes its event listeners
private function disactivate():void
Dispose of all resources used or referenced in the instance.
public function dispose():void
Removes used resources, references and graphics
private function destructor():void