
TUTORIALS POINT
Simply Easy Learning Page 65
invalidateParentSizeAndDisplayList():void
Helper method to invalidate parent size and display list if this object affects its layout (includeInLayout
is true).
isOurFocus(target:DisplayObject):Boolean
Typically overridden by components containing UITextField objects, where the UITextField object gets
focus.
keyDownHandler(event:KeyboardEvent):void
The event handler called for a keyDown event.
keyUpHandler(event:KeyboardEvent):void
The event handler called for a keyUp event.
measure():void
Calculates the default size, and optionally the default minimum size, of the component.
resourcesChanged():void
This method is called when a UIComponent is constructed, and again whenever the ResourceManager
dispatches a "change" Event to indicate that the localized resources have changed in some way.
setStretchXY(stretchX:Number, stretchY:Number):void
Specifies a transform stretch factor in the horizontal and vertical direction.
stateChanged(oldState:String, newState:String, recursive:Boolean):void
This method is called when a state changes to check whether state-specific styles apply to this
component
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the object and/or sizes and positions its children.
Events
Following are the events for mx.core.UIComponent class:
add
when the component is added to a container as a content child by using the addChild(), addChildAt(),
addElement(), or addElementAt() method.
Commentaires sur ces manuels