UIComponent
| Kind of class: | class |
|---|---|
| Inherits from: | UIObject |
| Known subclasses: | |
| Classpath: | mx.core.UIComponent |
| File last modified: | Thursday, 03 March 2005, 22:07:28 |
Component metadata:
| Event | "focusIn" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- kStretch : Number
- number used to imply stretchability in preferredWidth/Height
- mergedClipParameters : Boolean
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 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
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)
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.
setVisible
function setVisible (
x:Boolean,
noEvent:Boolean) : Void
size
function size (
) : Void
Event handlers
onKillFocus
function onKillFocus (
newFocus:Object) : Void
onSetFocus
function onSetFocus (
oldFocus:Object) : Void