Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.managers 
IFocusManagerContainer 
Packagemx.managers
Interfacepublic interface IFocusManagerContainer extends 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
 PropertyDefined 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
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
IEventDispatcher
  
Determines whether the specified display object is a child of the container instance or the instance itself.
IFocusManagerContainer
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
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
Booleantrue if the child object is a child of the container or the container itself; otherwise false.