mx.managers

# IFocusManagerComplexComponent - AS3 Flex

Package | mx.managers
Interface | public interface IFocusManagerComplexComponent extends IFocusManagerComponent
Implementors | FlexHTMLLoader

Language Version: | ActionScript 3.0

Product Version: | Flex 3

Runtime Versions: | Flash Player 9, AIR 1.1

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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | focusEnabled : Boolean A flag that indicates whether the component can receive focus when selected. | IFocusManagerComponent
|  | hasFocusableChildren : Boolean A flag that indicates whether child objects can receive focus. | IFocusManagerComponent
|  | hasFocusableContent : Boolean [read-only] A flag that indicates whether the component currently has internal focusable targets | IFocusManagerComplexComponent
|  | mouseFocusEnabled : Boolean [read-only] A flag that indicates whether the component can receive focus when selected with the mouse. | IFocusManagerComponent
|  | tabFocusEnabled : Boolean [read-only] A flag that indicates whether pressing the Tab key eventually moves focus to this component. | IFocusManagerComponent
|  | tabIndex : int If tabFocusEnabled, the order in which the component receives focus. | IFocusManagerComponent

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| 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

Property Detail

### hasFocusableContent

property

`hasFocusableContent:Boolean` [read-only]

Language Version: | ActionScript 3.0

Product Version: | Flex 3

Runtime Versions: | Flash Player 9, AIR 1.1

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`

Language Version: | ActionScript 3.0

Product Version: | Flex 3

Runtime Versions: | Flash Player 9, AIR 1.1

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

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00