WidgetInterface

WidgetInterface

Widgets are required to implement this interface.  Widgets are also required to inherit from WidgetSprite.  Use the template in WidgetTemplate to implement the interface in new widgets.

Summary
WidgetInterfaceWidgets are required to implement this interface.
Properties and Functions
activeSets the state of the widget to active or inactive.
disposeDispose of all resources used or referenced in the instance.
isActiveIndicates whether the widget is active or not.

Properties and Functions

active

function set active(state: Boolean):void

Sets the state of the widget to active or inactive.

Parameters

stateTrue to activate, false otherwise.

dispose

function dispose():void

Dispose of all resources used or referenced in the instance.

isActive

function get isActive():Boolean

Indicates whether the widget is active or not.  Inheriting from WidgetSprite implments this property.

Returns

True if the widget is active, false otherwise.

An action button drawn as a bubble with an optional symbol on top.
A base class dialog box widget.
An integer number input field with an optional label and optional auto-repeating stepper buttons.
A static text label.
function set active(state: Boolean):void
Sets the state of the widget to active or inactive.
function dispose():void
Dispose of all resources used or referenced in the instance.
function get isActive():Boolean
Indicates whether the widget is active or not.
Use this template to create a new widget with the required interface.
Close