interface IUIControl
package feathers.core
extends IDisplayObject
extended by IDataRenderer, IGridViewCellRenderer, IGridViewHeaderRenderer, IGroupListViewItemRenderer, IHierarchicalDepthItemRenderer, IHierarchicalItemRenderer, IListViewItemRenderer, IOptionalHierarchyItemRenderer, ITreeGridViewHeaderRenderer, IViewPort, IRange, IToggle, ITriggerView, FeathersControl, IHTMLTextControl, IOpenCloseToggle, ITextControl
A user interface control.
Events:
feathers.events.FeathersEvent.INITIALIZE | Dispatched after the
component's |
---|---|
feathers.events.FeathersEvent.ENABLE | Dispatched when
|
feathers.events.FeathersEvent.DISABLE | Dispatched when
|
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;
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.
1.0.0
.See also:
Methods
dispose():Void
May be called manually to clear the component's data and dispose sub-components, if appropriate.
In most cases, calling dispose()
is not required to ensure that a
component may be garbage collected. This method is provided for advanced
use cases where some extra cleanup may benefit memory usage.
1.3.0
.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.
1.0.0
.