Package | mx.managers |
Interface | public interface IFocusManagerComplexComponent extends IFocusManagerComponent |
Property | Defined by | ||
---|---|---|---|
focusEnabled : Boolean
A flag that indicates whether the component can receive focus when selected.
| IFocusManagerComponent | ||
hasFocusableContent : Boolean [read-only]
A flag that indicates whether the component currently has internal
focusable targets
| IFocusManagerComplexComponent | ||
mouseFocusEnabled : Boolean
A flag that indicates whether the component can receive focus
when selected with the mouse.
| IFocusManagerComponent | ||
tabEnabled : Boolean
A flag that indicates whether pressing the Tab key eventually
moves focus to this component.
| IFocusManagerComponent | ||
tabIndex : int
If
tabEnabled , the order in which the component receives focus. | IFocusManagerComponent |
Method | Defined by | ||
---|---|---|---|
assignFocus(direction:String):void
Called by the FocusManager when the component receives focus.
| IFocusManagerComplexComponent | ||
drawFocus(isFocused:Boolean):void
Called by the FocusManager when the component receives focus.
| IFocusManagerComponent | ||
setFocus():void
Called by the FocusManager when the component receives focus.
| IFocusManagerComponent |
hasFocusableContent | property |
hasFocusableContent:Boolean
[read-only]A flag that indicates whether the component currently has internal focusable targets
Implementation public function get hasFocusableContent():Boolean
assignFocus | () | method |
public function assignFocus(direction:String):void
Called by the FocusManager when the component receives focus. The component may in turn set focus to an internal component. The components setFocus() method will still be called when focused by the mouse, but this method will be used when focus changes via the keyboard
Parametersdirection:String — "bottom" if TAB used with SHIFT key, "top" otherwise
|