TextField |
Label |
A static text label. Left-aligned and using the CommonText font. The Label class extends the TextField class so all its properties are available. For example to change the label use the label.text property.
Label | A static text label. |
Public static constants | |
defaultColor | A light default color for the text. |
defaultFontSize | A medium default size for the font. |
Label | Create a static, left-aligned text label using the <CommonFont> font. |
name | Set the name of the label display object instance. |
color | Get the color used to render the text font. |
color | Set the default text format color |
WidgetInterface | |
active | Sets the state of the widget to active or inactive. |
isActive | Indicates whether the widget is active or not. |
dispose | Dispose of all resources used or referenced in the instance. |
A light default color for the text.
public static const defaultColor: int
A medium default size for the font.
public static const defaultFontSize: int
Create a static, left-aligned text label using the CommonFont font.
public function Label( labelText: String, color: uint = defaultColor, fontSize: uint = defaultFontSize )
Set the name of the label display object instance.
public override function set name( labelName: String ):void
Get the color used to render the text font.
public function get color():uint
Sets the state of the widget to active or inactive.
public function set active( state: Boolean ):void
Indicates whether the widget is active or not.
public function get isActive():Boolean
Dispose of all resources used or referenced in the instance.
public function dispose():void