| Pacchetto | spark.components.supportClasses |
| Classe | public class DropDownController |
| Ereditarietà | DropDownController EventDispatcher Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Elementi API correlati
| Proprietà | Definito da | ||
|---|---|---|---|
| closeOnResize : Boolean
When true, resizing the system manager
closes the drop down. | DropDownController | ||
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | |
| hitAreaAdditions : Vector.<DisplayObject>
A list of display objects to consider part of the hit area
of the drop down. | DropDownController | ||
| isOpen : Boolean [sola lettura]
Contains true if the drop down is open. | DropDownController | ||
| openButton : ButtonBase
A reference to the openButton skin part
of the drop-down component. | DropDownController | ||
| rollOverOpenDelay : Number
Specifies the delay, in milliseconds, to wait for opening the drop down
when the anchor button is rolled over. | DropDownController | ||
| systemManager : ISystemManager
A reference to the SystemManager used
for mouse tracking. | DropDownController | ||
| Metodo | Definito da | ||
|---|---|---|---|
Constructor. | DropDownController | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento. | EventDispatcher | |
Close the drop down and dispatch a DropDownEvent.CLOSE event. | DropDownController | ||
![]() |
Invia un evento nel flusso di eventi. | EventDispatcher | |
![]() |
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | EventDispatcher | |
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
Open the drop down and dispatch a DropdownEvent.OPEN event. | DropDownController | ||
Close the drop down if it is no longer in focus. | DropDownController | ||
Handles the keyboard user interactions. | DropDownController | ||
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Rimuove un listener dall'oggetto EventDispatcher. | EventDispatcher | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
![]() |
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | EventDispatcher | |
closeOnResize | proprietà |
closeOnResize:Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4.6 |
| Versioni runtime: | AIR 3 |
When true, resizing the system manager
closes the drop down.
For mobile applications, you can set this property
to false so that the drop down stays open when the
page orientation changes.
Il valore predefinito è true.
Implementazione
public function get closeOnResize():Boolean public function set closeOnResize(value:Boolean):voidhitAreaAdditions | proprietà |
public var hitAreaAdditions:Vector.<DisplayObject>| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
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 | proprietà |
openButton | proprietà |
openButton:ButtonBase| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
A reference to the openButton skin part
of the drop-down component.
Implementazione
public function get openButton():ButtonBase public function set openButton(value:ButtonBase):voidrollOverOpenDelay | proprietà |
rollOverOpenDelay:Number| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
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.
Il valore predefinito è NaN.
Implementazione
public function get rollOverOpenDelay():Number public function set rollOverOpenDelay(value:Number):voidsystemManager | proprietà |
systemManager:ISystemManager| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
A reference to the SystemManager used
for mouse tracking. if none is specified, the controller
will use the systemManager associated with the openButton.
Implementazione
public function get systemManager():ISystemManager public function set systemManager(value:ISystemManager):voidDropDownController | () | Funzione di costruzione |
public function DropDownController()| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Constructor.
closeDropDown | () | metodo |
openDropDown | () | metodo |
public function openDropDown():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Open the drop down and dispatch a DropdownEvent.OPEN event.
processFocusOut | () | metodo |
public function processFocusOut(event:FocusEvent):void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Close the drop down if it is no longer in focus.
Parametri
event:FocusEvent — The event object for the FOCUS_OUT event.
|
processKeyDown | () | metodo |
public function processKeyDown(event:KeyboardEvent):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 4 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Handles the keyboard user interactions.
Parametri
event:KeyboardEvent — The event object from the keyboard event.
|
Boolean — Returns true if the keyCode was
recognized and handled.
|
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate