UIComponent
| Kind of class: | class |
|---|---|
| Inherits from: | UIObject < MovieClip |
| Known subclasses: | |
| Classpath: | mx.core.UIComponent |
| File last modified: | Tuesday, 18 December 2007, 15:44:38 |
Component metadata:
| Event | "focusIn" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- version : String
- kStretch : Number
- number used to imply stretchability in preferredWidth/Height
- mergedClipParameters : Boolean
Class properties inherited from UIObject
Instance properties
- focusEnabled : Boolean
- tabEnabled : Boolean
- focusManager : MovieClip
- focusTextField : Object
- drawFocus : Function
- groupName : String
- origBorderStyles : Object
- origBorderValues : Object
- clipParameters : Object
- enabled : Boolean
- tabIndex : Number
- popUp : Boolean
- width : Number
- width of object
- height : Number
- height of object
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
- setVisible (x:Boolean, noEvent:Boolean) : Void
- enabledChanged (id:String, oldValue:Boolean, newValue:Boolean) : Boolean
- setEnabled (enabled:Boolean) : Void
- getFocus : Object
- Gets the object that has the focus.
- setFocus : Void
- Sets the focus to this object.
- getFocusManager : Object
- Get the current focusManager.
- findFocusInChildren (o:Object) : Object
- findFocusFromObject (o:Object) : Object
- pressFocus : Void
- releaseFocus : Void
- isParent (o:Object) : Boolean
- size : Void
- init : Void
- dispatchValueChangedEvent (value) : 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
Event handlers
- onKillFocus (newFocus:Object) : Void
- onSetFocus (oldFocus:Object) : Void
Constructor
UIComponent
function UIComponent (
)
Class properties
kStretch
static kStretch:Number = 5000
(read)
number used to imply stretchability in preferredWidth/Height
mergedClipParameters
static mergedClipParameters:Boolean = UIObject.mergeClipParameters(UIComponent.prototype.clipParameters, UIObject.prototype.clipParameters)
(read)
symbolName
static symbolName:String = "UIComponent"
(read)
symbolOwner
static symbolOwner:Object = mx.core.UIComponent
(read)
version
static version:String = "2.0.2.127"
(read)
Instance properties
clipParameters
clipParameters:Object = {}
(read)
drawFocus
drawFocus:Function
(read)
enabled
enabled:Boolean
(read)
Component metadata:
| Inspectable | category: "Other" defaultValue: true, verbose: 1, |
|---|
focusEnabled
focusEnabled:Boolean = true
(read)
focusManager
focusManager:MovieClip
(read)
focusTextField
focusTextField:Object
(read)
groupName
groupName:String
(read)
height
height:Number
(read)
height of object
origBorderStyles
origBorderStyles:Object = { themeColor: 0xFF0000 }
(read)
origBorderValues
origBorderValues:Object
(read)
popUp
popUp:Boolean
(read)
tabEnabled
tabEnabled:Boolean = true
(read)
tabIndex
tabIndex:Number
(read)
width
width:Number
(read)
width of object
Instance methods
dispatchValueChangedEvent
function dispatchValueChangedEvent (
value) : Void
enabledChanged
function enabledChanged (
id:String,
oldValue:Boolean,
newValue:Boolean) : Boolean
findFocusFromObject
function findFocusFromObject (
o:Object) : Object
findFocusInChildren
function findFocusInChildren (
o:Object) : Object
getFocus
function getFocus (
) : Object
Gets the object that has the focus. It may not be this object.
This is just here as a convenience
This is just here as a convenience
Returns:
- Object The object that has the focus
getFocusManager
function getFocusManager (
) : Object
Get the current focusManager.
init
function init (
) : Void
isParent
function isParent (
o:Object) : Boolean
params:
- o the potential parent to this compoenent
pressFocus
function pressFocus (
) : Void
releaseFocus
function releaseFocus (
) : Void
setEnabled
function setEnabled (
enabled:Boolean) : Void
setFocus
function setFocus (
) : Void
Sets the focus to this object.
size
function size (
) : Void
Event handlers
onKillFocus
function onKillFocus (
newFocus:Object) : Void
onSetFocus
function onSetFocus (
oldFocus:Object) : Void