A user interface control.

Events:

feathers.events.FeathersEvent.INITIALIZE

Dispatched after the component's initialize() method has been called.

feathers.events.FeathersEvent.ENABLE

Dispatched when IUIControl.enabled is set to true.

feathers.events.FeathersEvent.DISABLE

Dispatched when IUIControl.enabled is set to false.

Available since

1.0.0

.

Variables

enabled:Bool

Indicates whether the control should respond when a user attempts to interact with it. The appearance of the control may also be affected by whether the control is enabled or disabled.

The following example disables a component:

component.enabled = false;
Available since

1.0.0

.

toolTip:String

Text to display in a tool tip to when hovering the mouse over this component, if the ToolTipManager is enabled.

The following example sets a tool tip:

component.toolTip = "Description of component";

Note: This property will be ignored if no tool tip manager is enabled. If you are using the Application component, a tool tip manager will be enabled automatically.

Available since

1.0.0

.

See also:

Methods

initializeNow():Void

If the component has not yet initialized, initializes immediately. The FeathersEvent.INITIALIZE event will be dispatched. To both initialize and validate immediately, call validateNow() instead.

Available since

1.0.0

.