Main Page | Packages | Class Tree | Index | Help

mx.controls

class Label

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.controls.Label


class Label
extends UIObject

Label class



Field Summary


__autoSize: String


static
mergedClipParameters: Boolean


static
symbolName: String


static
symbolOwner: Object


static
version: String
name of this class Copyright (C) 2003 Macromedia, Inc.

Fields inherited from class mx.core.UIObject

__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version

Fields inherited from class MovieClip

_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor

Fields inherited from class Object

__proto__, constructor, prototype

Property Summary


autoSize: String (read, write)



html: Boolean (read, write)
true if text is supplied as html


styleSheet: TextField.StyleSheet (read, write)



text: String (read, write)
the text in the component

Properties inherited from class mx.core.UIObject

bottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y

Constructor


Label ( )


Method Summary


adjustForAutoSize ( )



draw ( Void ): Void
should not get called during construction.


getHtml ( ): Boolean



getText ( ): String



init ( Void ): Void



setColor ( col: Number ): Void



setEnabled ( enable: Boolean ): Void



setHtml ( value: Boolean ): Void



setText ( t: String ): Void



size ( Void ): Void


Methods inherited from class mx.core.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, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size

Methods inherited from class MovieClip

attachAudio, attachMovie, beginFill, beginGradientFill, clear, createEmptyMovieClip, createTextField, curveTo, duplicateMovieClip, endFill, getBounds, getBytesLoaded, getBytesTotal, getDepth, getInstanceAtDepth, getNextHighestDepth, getSWFVersion, getTextSnapshot, getURL, globalToLocal, gotoAndPlay, gotoAndStop, hitTest, lineStyle, lineTo, loadMovie, loadVariables, localToGlobal, moveTo, nextFrame, onData, onDragOut, onDragOver, onEnterFrame, onKeyDown, onKeyUp, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

__autoSize

var __autoSize: String

mergedClipParameters

static var mergedClipParameters: Boolean

symbolName

static var symbolName: String

symbolOwner

static var symbolOwner: Object

version

static var version: String
name of this class Copyright (C) 2003 Macromedia, Inc.

All Rights Reserved. The following is Sample Code and is subject to all restrictions on such code as contained in the End User License Agreement accompanying this product.


Property Documentation

autoSize

autoSize: String (read, write)

html

html: Boolean (read, write)
true if text is supplied as html

styleSheet

styleSheet: TextField.StyleSheet (read, write)

text

text: String (read, write)
the text in the component


Constructor Documentation

Label

function Label()

Method Documentation

adjustForAutoSize

function adjustForAutoSize()

draw

function draw(Void): Void
should not get called during construction.

Overrides:

getHtml

function getHtml(): Boolean

getText

function getText(): String

init

function init(Void): Void
Overrides:

setColor

function setColor(col: Number): Void
Overrides:

setEnabled

function setEnabled(enable: Boolean): Void

setHtml

function setHtml(value: Boolean): Void

setText

function setText(t: String): Void

size

function size(Void): Void
Overrides:


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc