包 | xd.core.axm.view.components.support |
类 | public class AXMToolPopUpDropDownController |
继承 | AXMToolPopUpDropDownController EventDispatcher Object |
实现 | IDropDownController |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
相关 API 元素
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
hitAreaAdditions : Vector.<DisplayObject>
A list of display objects to consider part of the hit area
of the drop down. | AXMToolPopUpDropDownController | ||
isOpen : Boolean [只读]
Contains true if the drop down is open. | AXMToolPopUpDropDownController | ||
mouseDownTimer : flash.utils:Timer
mouseDownTimer
| AXMToolPopUpDropDownController | ||
mouseHoldDelay : Number
mouseHoldDelay
| AXMToolPopUpDropDownController | ||
openButton : ButtonBase
A reference to the openButton skin part
of the drop-down component. | AXMToolPopUpDropDownController | ||
rollOverOpenDelay : Number
Specifies the delay, in milliseconds, to wait for opening the drop down
when the anchor button is rolled over. | AXMToolPopUpDropDownController | ||
shouldOpen : Boolean
shouldOpen
| AXMToolPopUpDropDownController | ||
systemManager : ISystemManager
A reference to the SystemManager used
for mouse tracking. | AXMToolPopUpDropDownController |
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | AXMToolPopUpDropDownController | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
Close the drop down and dispatch a DropDownEvent.CLOSE event. | AXMToolPopUpDropDownController | ||
将事件调度到事件流中。 | EventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
Open the drop down and dispatch a DropdownEvent.OPEN event. | AXMToolPopUpDropDownController | ||
Close the drop down if it is no longer in focus. | AXMToolPopUpDropDownController | ||
Handles the keyboard user interactions. | AXMToolPopUpDropDownController | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
hitAreaAdditions | 属性 |
public var hitAreaAdditions:Vector.<DisplayObject>
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
A list of display objects to consider part of the hit area of the drop down. Mouse clicks within any component listed as an inclusion will not automatically close the drop down.
isOpen | 属性 |
mouseDownTimer | 属性 |
mouseDownTimer:flash.utils:Timer
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
mouseDownTimer
实现
public function get mouseDownTimer():flash.utils:Timer
public function set mouseDownTimer(value:flash.utils:Timer):void
mouseHoldDelay | 属性 |
openButton | 属性 |
openButton:ButtonBase
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
A reference to the openButton
skin part
of the drop-down component.
实现
public function get openButton():ButtonBase
public function set openButton(value:ButtonBase):void
rollOverOpenDelay | 属性 |
rollOverOpenDelay:Number
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
Specifies the delay, in milliseconds, to wait for opening the drop down
when the anchor button is rolled over.
If set to NaN
, then the drop down opens on a click, not a rollover.
默认值为 NaN。
实现
public function get rollOverOpenDelay():Number
public function set rollOverOpenDelay(value:Number):void
shouldOpen | 属性 |
systemManager | 属性 |
systemManager:ISystemManager
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
A reference to the SystemManager
used
for mouse tracking. if none is specified, the controller
will use the systemManager associated with the openButton.
实现
public function get systemManager():ISystemManager
public function set systemManager(value:ISystemManager):void
AXMToolPopUpDropDownController | () | 构造函数 |
public function AXMToolPopUpDropDownController()
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
Constructor.
closeDropDown | () | 方法 |
public function closeDropDown(commit:Boolean):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
Close the drop down and dispatch a DropDownEvent.CLOSE
event.
参数
commit:Boolean — If true , commit the selected
data item.
|
openDropDown | () | 方法 |
public function openDropDown():void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
Open the drop down and dispatch a DropdownEvent.OPEN
event.
processFocusOut | () | 方法 |
public function processFocusOut(event:FocusEvent):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
Close the drop down if it is no longer in focus.
参数
event:FocusEvent — The event object for the FOCUS_OUT event.
|
processKeyDown | () | 方法 |
public function processKeyDown(event:KeyboardEvent):Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | Flash Player 10.2, AIR 2.6 |
Handles the keyboard user interactions.
参数
event:KeyboardEvent — The event object from the keyboard event.
|
Boolean — Returns true if the keyCode was
recognized and handled.
|
Tue Jun 12 2018, 11:04 AM Z