Packagemx.managers
Interfacepublic interface IFocusManagerComplexComponent extends IFocusManagerComponent

The IFocusManagerComplexComponent interface defines the interface that components that can have more than one internal focus target should implement in order to receive focus from the FocusManager.



Public Properties
 PropertyDefined by
 InheritedfocusEnabled : 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
 InheritedmouseFocusEnabled : Boolean
A flag that indicates whether the component can receive focus when selected with the mouse.
IFocusManagerComponent
 InheritedtabEnabled : Boolean
A flag that indicates whether pressing the Tab key eventually moves focus to this component.
IFocusManagerComponent
 InheritedtabIndex : int
If tabEnabled, the order in which the component receives focus.
IFocusManagerComponent
Public Methods
 MethodDefined by
  
assignFocus(direction:String):void
Called by the FocusManager when the component receives focus.
IFocusManagerComplexComponent
 Inherited
drawFocus(isFocused:Boolean):void
Called by the FocusManager when the component receives focus.
IFocusManagerComponent
 Inherited
setFocus():void
Called by the FocusManager when the component receives focus.
IFocusManagerComponent
Property detail
hasFocusableContentproperty
hasFocusableContent:Boolean  [read-only]

A flag that indicates whether the component currently has internal focusable targets

Implementation
    public function get hasFocusableContent():Boolean
Method detail
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

Parameters
direction:String — "bottom" if TAB used with SHIFT key, "top" otherwise