Package | mx.managers |
Interface | public interface IFocusManagerContainer extends IEventDispatcher |
Implementors | Container, Menu, SearchUserDialog, SkinnableContainerBase |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
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 | ||
---|---|---|---|
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 | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
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.
|
Boolean — true if the child object is a child of the container
or the container itself; otherwise false .
|
Thu Dec 6 2018, 01:12 PM -08:00