Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IFocusManagerContainer

Package | mx.managers
Interface | public interface IFocusManagerContainer extends flash.events.IEventDispatcher
Implementors | Container, Menu, SkinnableContainerBase

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The IFocusManagerContainer interface defines the interface that containers implement to host a FocusManager. The PopUpManager automatically installs a FocusManager in any IFocusManagerContainer it pops up.

Public Properties

| Property | Defined By
--- | --- | ---
|  | defaultButton : IFlexDisplayObject The Button control designated as the default button for the container. | IFocusManagerContainer
|  | focusManager : IFocusManager The FocusManager for this component. | IFocusManagerContainer
|  | systemManager : ISystemManager [read-only] Returns the SystemManager object used by this component. | IFocusManagerContainer

Public Methods

| Method | Defined By
--- | --- | ---
|  | contains(child:DisplayObject):Boolean Determines whether the specified display object is a child of the container instance or the instance itself. | IFocusManagerContainer

Property Detail

defaultButton | property

`defaultButton:IFlexDisplayObject`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The Button control designated as the default button for the container. When controls in the container have focus, pressing the Enter key is the same as clicking this Button control.

The default value is `null`.

Implementation
`public function get defaultButton():IFlexDisplayObject`
`public function set defaultButton(value:IFlexDisplayObject):void`

focusManager | property |

`focusManager:IFocusManager`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The FocusManager for this component. The FocusManager must be in a `focusManager` property.

Implementation
`public function get focusManager():IFocusManager`
`public function set focusManager(value:IFocusManager):void`

systemManager | property |

`systemManager:ISystemManager` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns the SystemManager object used by this component.

Implementation
`public function get systemManager():ISystemManager`
Method Detail

contains | () | method

`public function contains(child:DisplayObject):Boolean`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Determines whether the specified display object is a child of the container instance or the instance itself. The search includes the entire display list including this container instance. Grandchildren, great-grandchildren, and so on each return `true`.

Parameters

| `child:DisplayObject` — The child object to test.

Returns

| `Boolean` — `true` if the child object is a child of the container or the container itself; otherwise `false`.

Sun Mar 5 2017, 03:42 PM +11:00