User Guide

446 Chapter 6: Components Dictionary
Property summary for the Label class
The following table lists properties of the Label class.
Properties inherited from the UIObject class
The following table lists the properties the Label class inherits from the UIObject class. When
accessing these properties, use the form
labelInstance.propertyName.
UIObject.destroyObject() Destroys a component instance.
UIObject.doLater() Calls a function when parameters have been set in the Property
and Component inspectors.
UIObject.getStyle() Gets the style property from the style declaration or object.
UIObject.invalidate() Marks the object so it will be redrawn on the next frame interval.
UIObject.move() Moves the object to the requested position.
UIObject.redraw() Forces validation of the object so it is drawn in the current frame.
UIObject.setSize() Resizes the object to the requested size.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
Property Description
Label.autoSize A string that indicates how a label sizes and aligns to fit the value of
its
text property. There are four possible values: "none", "left",
"center", and "right". The default value is "none".
Label.html A Boolean value that indicates whether a label can be formatted
with HTML (
true) or not (false).
Label.text The text on the label.
Property Description
UIObject.bottom The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
UIObject.height The height of the object, in pixels. Read-only.
UIObject.left The left edge of the object, in pixels. Read-only.
UIObject.right The position of the right edge of the object, relative to the right
edge of its parent. Read-only.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top The position of the top edge of the object, relative to its parent.
Read-only.
Method Description