Pacchetto | com.adobe.mosaic.sparklib.optionMenu |
Classe | public class OptionMenuEvent |
Ereditarietà | OptionMenuEvent Event Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Versioni runtime: | Flash Player 10.1, AIR 2.0.2 |
OptionMenuButton
class.
Elementi API correlati
Proprietà pubbliche
Proprietà | Definito da | ||
---|---|---|---|
bubbles : Boolean [sola lettura]
Indica se un evento è un evento di bubbling. | Event | ||
cancelable : Boolean [sola lettura]
Indica se il comportamento associato all'evento può essere impedito. | Event | ||
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
currentTarget : Object [sola lettura]
L'oggetto che elabora attivamente l'oggetto Event con un listener di eventi. | Event | ||
eventPhase : uint [sola lettura]
La fase attuale del flusso di eventi. | Event | ||
index : int
The index of the selected item when the event type is SELECT_ITEM. | OptionMenuEvent | ||
target : Object [sola lettura]
Il target dell'evento. | Event | ||
type : String [sola lettura]
Il tipo di evento. | Event |
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
Constructor. | OptionMenuEvent | ||
Duplica un'istanza di una sottoclasse Event. | Event | ||
Una funzione dell'utilità per l'implementazione del metodo toString() in classi Event ActionScript 3.0 personalizzate. | Event | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Verifica se sull'evento è stato chiamato il metodo preventDefault(). | Event | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Annulla il comportamento predefinito di un evento se tale comportamento può essere annullato. | Event | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Impedisce l'elaborazione di tutti i listener di eventi nel nodo corrente e in tutti i nodi successivi del flusso di eventi. | Event | ||
Impedisce l'elaborazione di tutti i listener di eventi nei nodi del flusso di eventi successivi a quello corrente. | Event | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce una stringa che contiene tutte le proprietà dell'oggetto Event. | Event | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
Costanti pubbliche
Costante | Definito da | ||
---|---|---|---|
CLOSE_ITEM : String = "closeItem" [statico]
A special value that is dispatched when the Close item is selected from the menu. | OptionMenuEvent | ||
SAVE_AS_ITEM : String = "saveAsItem" [statico]
A special value that is dispatched when the Save As item is selected from the menu. | OptionMenuEvent | ||
SAVE_ITEM : String = "saveItem" [statico]
A special value that is dispatched when the Save item is selected from the menu. | OptionMenuEvent | ||
SELECT_ITEM : String = "selectItem" [statico]
A special value that is dispatched when a item is selected from the menu. | OptionMenuEvent | ||
SHOW_LINK : String = "showLink" [statico]
A special value that is dispatched when the Show Link item is selected from the menu. | OptionMenuEvent |
Descrizione delle proprietà
index | proprietà |
public var index:int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Versioni runtime: | AIR 2.6, Flash Player 10.2 |
The index of the selected item when the event type is SELECT_ITEM
.
Descrizione della funzione di costruzione
OptionMenuEvent | () | Funzione di costruzione |
public function OptionMenuEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false)
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Versioni runtime: | AIR 2.6, Flash Player 10.2 |
Constructor.
Parametritype:String — The event type; one of SELECT_ITEM , CLOSE_ITEM , or SAVE_ITEM .
| |
bubbles:Boolean (default = true ) — Indicates if the event should travel up the event chain.
| |
cancelable:Boolean (default = false ) — Indicates if the event can be cancelled.
|
Descrizione delle costanti
CLOSE_ITEM | Costante |
public static const CLOSE_ITEM:String = "closeItem"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Versioni runtime: | AIR 2.6, Flash Player 10.2 |
A special value that is dispatched when the Close
item is selected from the menu.
SAVE_AS_ITEM | Costante |
public static const SAVE_AS_ITEM:String = "saveAsItem"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Versioni runtime: | AIR 2.6, Flash Player 10.2 |
A special value that is dispatched when the Save As
item is selected from the menu.
SAVE_ITEM | Costante |
public static const SAVE_ITEM:String = "saveItem"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Versioni runtime: | AIR 2.6, Flash Player 10.2 |
A special value that is dispatched when the Save
item is selected from the menu.
SELECT_ITEM | Costante |
public static const SELECT_ITEM:String = "selectItem"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Versioni runtime: | AIR 2.6, Flash Player 10.2 |
A special value that is dispatched when a item is selected from the menu.
SHOW_LINK | Costante |
public static const SHOW_LINK:String = "showLink"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Versioni runtime: | AIR 2.6, Flash Player 10.2 |
A special value that is dispatched when the Show Link
item is selected from the menu.
Tue Jun 12 2018, 02:44 PM Z