The FocusManager class manages the focus on components. Each top-level window has a Focus Manager.
| Methods | |
| getFocus() : Object
Gets the component that currently has the focus. |
| getMaxTabIndex(o:UIComponent) : Number
Gets the highest tab index currently used in this Focus Manager`s form or subform. |
| sendDefaultPushButtonEvent() : Void
You call this method to make the system think the Enter key was pressed. |
| setFocus(o:Object) : Void
Sets the focus to an object. |
| Methods inherited from class mx.core.UIComponent |
getFocus
setFocus
getFocusManager
|
| Properties | |
static | version:String
ComponentVersion is for internal use only. |
| className:String
Name of this class. |
| defaultPushButton:SimpleButton
[Read-Write]
Original default push button. |
| nextTabIndex:Number
[Read-Only]
Next unique tab index to use on this form. |
| Properties inherited from class mx.core.UIComponent |
version
enabled
tabIndex
|
| Effects |
| Effects inherited from class mx.core.UIComponent |
showEffect
hideEffect
focusInEffect
focusOutEffect
|
| Effects inherited from class mx.core.UIObject |
creationCompleteEffect
moveEffect
resizeEffect
mouseDownEffect
mouseOverEffect
mouseOutEffect
mouseUpEffect
|
| Events |
| Events inherited from class: mx.core.UIComponent |
focusIn
focusOut
keyDown
keyUp
show
hide
valid
invalid
valueCommitted
|
| Styles |
| Styles inherited from class mx.core.UIObject |
color
fontFamily
fontSize
fontStyle
fontWeight
textAlign
textDecoration
textIndent
marginLeft
marginRight
horizontalGap
verticalGap
|
| Method Detail |
getFocus() : Object
Returns
Object that has focus.
getMaxTabIndex(o:UIComponent) : Number
Parameters
o - Form or subform.
Returns
Highest tab index currently used.
sendDefaultPushButtonEvent() : Void
setFocus(o:Object) : Void
Parameters
o - Object to receive focus.
| Property Detail |
className:String
defaultPushButton:SimpleButton
[Read-Write]
nextTabIndex:Number
[Read-Only]
static version:String