Label
| Kind of class: | class |
|---|---|
| Inherits from: | UIObject < MovieClip |
| Classpath: | mx.controls.Label |
| File last modified: | Tuesday, 18 December 2007, 15:44:37 |
Label class
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- version : String
- mergedClipParameters : Boolean
Class properties inherited from UIObject
Instance properties
- tabEnabled : Boolean
- tabChildren : Boolean
- useHandCursor : Boolean
- _color
- className : String
- name of this class
- initializing : Boolean
- clipParameters : Object
- labelField : TextField
- __autoSize : String
- initText : String
- html : Boolean
- true if text is supplied as html
- text : String
- the text in the component
- autoSize : String
- styleSheet : TextField.StyleSheet
- styleSheet (v:TextField = .StyleSheet) : TextField = .StyleSheet
Instance properties inherited from UIObject
__height __onUnload __width _color _endInit _id _maxHeight _maxWidth _minHeight _minWidth _preferredHeight _preferredWidth _tf _topmost addEventListener bottom buildDepthTable changeColorStyleInChildren changeTextStyleInChildren childrenCreated className clipParameters color createAccessibilityImplementation createChildAtDepth createClassChildAtDepth createEvent dispatchEvent embedFonts findNextAvailableDepth fontFamily fontSize fontStyle fontWeight handleEvent height idNames ignoreClassStyleDeclaration initProperties invalidateFlag left lineColor lineWidth marginLeft marginRight methodTable minHeight minWidth notifyStyleChangeInChildren removeEventListener right scaleX scaleY setStyle stylecache styleName tabEnabled textAlign textDecoration textIndent tfList top validateNow visible width x y
Class methods
Class methods inherited from UIObject
Instance methods
- init (Void) : Void
- getHtml : Boolean
- setHtml (value:Boolean) : Void
- getText : String
- setText (t:String) : Void
- draw (Void) : Void
- adjustForAutoSize
- size (Void) : Void
- setEnabled (enable:Boolean) : Void
- setColor (col:Number) : Void
Instance methods inherited from UIObject
__getTextFormat _createChildren _getTextFormat cancelAllDoLaters constructObject createChildren createClassObject createEmptyObject createLabel createObject createSkin destroyObject doLater doLaterDispatcher draw drawRect getClassStyleDeclaration getMinHeight getMinWidth getSkinIDName getStyle getStyleName init initFromClipParameters invalidate invalidateStyle move redraw setColor setMinHeight setMinWidth setSize setSkin setVisible size
Constructor
Label
function Label (
)
Class properties
mergedClipParameters
static mergedClipParameters:Boolean = UIObject.mergeClipParameters(Label.prototype.clipParameters, UIObject.prototype.clipParameters)
(read)
symbolName
static symbolName:String = "Label"
(read)
symbolOwner
static symbolOwner:Object = Object(mx.controls.Label)
(read)
version
static version:String = "2.0.2.127"
(read)
Instance properties
__autoSize
__autoSize:String
(read)
_color
_color
(read)
autoSize
autoSize:String
(read,write)
Component metadata:
| Inspectable | "none" enumeration: "left,center,right,none",defaultValue |
|---|
className
className:String = "Label"
(read)
name of this class
clipParameters
clipParameters:Object = { text: 1, html: 1, autoSize: 1}
(read)
html
html:Boolean
(read,write)
true if text is supplied as html
Component metadata:
| Inspectable | defaultValue: false |
|---|
initializing
initializing:Boolean = true
(read)
initText
initText:String
(read)
labelField
labelField:TextField
(read)
styleSheet
styleSheet:TextField.StyleSheet
(read)
styleSheet
styleSheet:TextField = .StyleSheet
(write)
tabChildren
tabChildren:Boolean
(read)
tabEnabled
tabEnabled:Boolean
(read)
text
text:String
(read,write)
the text in the component
Component metadata:
| Bindable | "writeonly" |
|---|---|
| Inspectable | defaultValue: "Label" |
useHandCursor
useHandCursor:Boolean
(read)
Instance methods
adjustForAutoSize
function adjustForAutoSize (
)
getHtml
function getHtml (
) : Boolean
getText
function getText (
) : String
setColor
function setColor (
col:Number) : Void
setEnabled
function setEnabled (
enable:Boolean) : Void
setHtml
function setHtml (
value:Boolean) : Void
setText
function setText (
t:String) : Void