ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
xd.core.axm.view.components.support 

AXMToolPopUpDropDownController  - AS3 ADEP Adobe Experience Model

Packagexd.core.axm.view.components.support
Classpublic class AXMToolPopUpDropDownController
InheritanceAXMToolPopUpDropDownController Inheritance EventDispatcher Inheritance Object
Implements IDropDownController

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

The AXMToolPopUpDropDownController class handles the mouse, keyboard, and focus interactions for an anchor button and its associated tool pop up drop down. This class is used by the drop-down components, such as DropDownList, to handle the opening and closing of the drop down due to user interactions.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  hitAreaAdditions : Vector.<DisplayObject>
A list of display objects to consider part of the hit area of the drop down.
AXMToolPopUpDropDownController
  isOpen : Boolean
[read-only] 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
Public Methods
 MethodDefined By
  
Constructor.
AXMToolPopUpDropDownController
 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.
EventDispatcher
  
Close the drop down and dispatch a DropDownEvent.CLOSE event.
AXMToolPopUpDropDownController
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
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
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
Property Detail

hitAreaAdditions

property
public var hitAreaAdditions:Vector.<DisplayObject>

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: 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

property 
isOpen:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Contains true if the drop down is open.



Implementation
    public function get isOpen():Boolean

mouseDownTimer

property 
mouseDownTimer:flash.utils:Timer

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

mouseDownTimer



Implementation
    public function get mouseDownTimer():flash.utils:Timer
    public function set mouseDownTimer(value:flash.utils:Timer):void

mouseHoldDelay

property 
mouseHoldDelay:Number

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

mouseHoldDelay



Implementation
    public function get mouseHoldDelay():Number
    public function set mouseHoldDelay(value:Number):void

openButton

property 
openButton:ButtonBase

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

A reference to the openButton skin part of the drop-down component.



Implementation
    public function get openButton():ButtonBase
    public function set openButton(value:ButtonBase):void

rollOverOpenDelay

property 
rollOverOpenDelay:Number

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: 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.

The default value is NaN.



Implementation
    public function get rollOverOpenDelay():Number
    public function set rollOverOpenDelay(value:Number):void

shouldOpen

property 
shouldOpen:Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

shouldOpen



Implementation
    public function get shouldOpen():Boolean
    public function set shouldOpen(value:Boolean):void

systemManager

property 
systemManager:ISystemManager

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: 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.



Implementation
    public function get systemManager():ISystemManager
    public function set systemManager(value:ISystemManager):void
Constructor Detail

AXMToolPopUpDropDownController

()Constructor
public function AXMToolPopUpDropDownController()

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Constructor.

Method Detail

closeDropDown

()method
public function closeDropDown(commit:Boolean):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Close the drop down and dispatch a DropDownEvent.CLOSE event.

Parameters

commit:Boolean — If true, commit the selected data item.

openDropDown

()method 
public function openDropDown():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Open the drop down and dispatch a DropdownEvent.OPEN event.

processFocusOut

()method 
public function processFocusOut(event:FocusEvent):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Close the drop down if it is no longer in focus.

Parameters

event:FocusEvent — The event object for the FOCUS_OUT event.

processKeyDown

()method 
public function processKeyDown(event:KeyboardEvent):Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: Flash Player 10.2, AIR 2.6

Handles the keyboard user interactions.

Parameters

event:KeyboardEvent — The event object from the keyboard event.

Returns
Boolean — Returns true if the keyCode was recognized and handled.