A user interface control that displays text.

Available since

1.0.0

.

Variables

text:String

The text to display.

Available since

1.0.0

.

Inherited Variables

Defined by IUIControl

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.

Available since

1.0.0

.

read onlystyleContext:Class<IStyleObject>

The class used as the context for styling the component. For instance, a subclass of a component may have different styles than its superclass, or it may inherit styles from its superclass.

Available since

1.0.0

.

variant:String

May be used to provide multiple different variations of the same UI component, each with a different appearance.

Available since

1.0.0

.

Defined by IDisplayObject

alpha:Float

height:Float

scaleX:Float

scaleY:Float

visible:Bool

width:Float

x:Float

y:Float

Inherited Methods

Defined by IUIControl

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

.