套件 | mx.managers |
介面 | public interface IFocusManagerContainer extends IEventDispatcher |
實作者 | Container, Menu, SearchUserDialog, SkinnableContainerBase |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
defaultButton : IFlexDisplayObject
The Button control designated as the default button
for the container. | IFocusManagerContainer | ||
focusManager : IFocusManager
The FocusManager for this component. | IFocusManagerContainer | ||
systemManager : ISystemManager [唯讀]
Returns the SystemManager object used by this component. | IFocusManagerContainer |
公用方法
方法 | 定義自 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | IEventDispatcher | ||
Determines whether the specified display object is a child
of the container instance or the instance itself. | IFocusManagerContainer | ||
會將事件傳送到事件流程。 | IEventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
屬性詳細資訊
defaultButton | 屬性 |
defaultButton:IFlexDisplayObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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.
預設值為 null。
實作
public function get defaultButton():IFlexDisplayObject
public function set defaultButton(value:IFlexDisplayObject):void
focusManager | 屬性 |
focusManager:IFocusManager
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The FocusManager for this component.
The FocusManager must be in a focusManager
property.
實作
public function get focusManager():IFocusManager
public function set focusManager(value:IFocusManager):void
systemManager | 屬性 |
systemManager:ISystemManager
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the SystemManager object used by this component.
實作
public function get systemManager():ISystemManager
方法詳細資訊
contains | () | 方法 |
public function contains(child:DisplayObject):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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
.
參數
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 .
|
Tue Jun 12 2018, 03:47 PM Z