Class mx.core.UIComponent

MovieClip
   +--mx.core.UIObject
      +--mx.core.UIComponent

Description

UIComponent class - extends UIObject - Adds focus, enabling - Resizes by sizing and positioning internal components

Field Index

clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, height, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, width
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, symbolName, symbolOwner, tabEnabled, textAlign, textColorList, textDecoration, textIndent, tfList, top, validateNow, visible, width, x, y
Inherited from 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

Method Index

new UIComponent()

dispatchValueChangedEvent(), enabledChanged(), findFocusFromObject(), findFocusInChildren(), getFocus(), getFocusManager(), init(), isParent(), onKillFocus(), onSetFocus(), pressFocus(), releaseFocus(), setEnabled(), setFocus(), setVisible(), size()
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(), initFromClipParameters(), invalidate(), invalidateStyle(), mergeClipParameters(), move(), redraw(), setColor(), setMinHeight(), setMinWidth(), setSize(), setSkin()
Inherited from 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(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

UIComponent

function UIComponent()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

kStretch

static kStretch:Number

focusEnabled

focusEnabled:Boolean

tabEnabled

tabEnabled:Boolean

focusManager

focusManager:MovieClip

focusTextField

focusTextField:Object

drawFocus

drawFocus:Function

groupName

groupName:String

origBorderStyles

origBorderStyles:Object

origBorderValues

origBorderValues:Object

clipParameters

clipParameters:Object

mergedClipParameters

static mergedClipParameters:Boolean

enabled

enabled:Boolean

tabIndex

tabIndex:Number

popUp

popUp:Boolean

width

width:Number [Read Only]
width of object

height

height:Number [Read Only]
height of object

Method Detail

setVisible

function setVisible(x:
Boolean, noEvent:Boolean):Void

enabledChanged

function enabledChanged(id:
String, oldValue:Boolean, newValue:Boolean):Boolean

setEnabled

function setEnabled(enabled:
Boolean):Void

getFocus

function getFocus():
Object
Gets the object that has the focus. It may not be this object. This is just here as a convenience
Return
Object The object that has the focus @tiptext Returns the component that currently has focus @helpid 3953

setFocus

function setFocus():Void
Sets the focus to this object.

getFocusManager

function getFocusManager():
Object
Get the current focusManager.

onKillFocus

function onKillFocus(newFocus:
Object):Void

onSetFocus

function onSetFocus(oldFocus:
Object):Void

findFocusInChildren

function findFocusInChildren(o:
Object):Object

findFocusFromObject

function findFocusFromObject(o:
Object):Object

pressFocus

function pressFocus():Void

releaseFocus

function releaseFocus():Void

isParent

function isParent(o:
Object):Boolean

size

function size():Void

init

function init():Void

dispatchValueChangedEvent

function dispatchValueChangedEvent(value):Void