Pacchetto | spark.events |
Classe | public class GridEvent |
Ereditarietà | GridEvent MouseEvent Event Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
- The row and column index of the cell.
- The GridColumn object of the cell.
- The data provider item that corresponds to the row of the cell.
- The item renderer.
Grid events have a one-to-one correspondence with mouse events.
They are dispatched in response to mouse events that have "bubbled"
from some Grid descendant to the Grid itself.
One significant difference is that event listeners for grid events
are guaranteed to see an entire down-drag-up mouse gesture,
even if the drag and up parts of the gesture do not occur over the grid.
The gridMouseDrag
event corresponds to a
mouse move event with the button held down.
Elementi API correlati
Proprietà | Definito da | ||
---|---|---|---|
altKey : Boolean
Indica se il tasto Alt è attivo (true) o inattivo (false). | MouseEvent | ||
bubbles : Boolean [sola lettura]
Indica se un evento è un evento di bubbling. | Event | ||
buttonDown : Boolean
Indica se il pulsante principale del mouse è premuto (true) o no (false). | MouseEvent | ||
cancelable : Boolean [sola lettura]
Indica se il comportamento associato all'evento può essere impedito. | Event | ||
clickCount : int [sola lettura]
Indica se l'evento mouse down fa parte o meno di una sequenza di più clic. | MouseEvent | ||
column : GridColumn
The column where the event occurred, or null if the event
did not occur over a column. | GridEvent | ||
columnIndex : int
The index of the column where the event occurred, or -1 if the event
did not occur over a grid column. | GridEvent | ||
commandKey : Boolean
Indica se il tasto Comando è attivato (solo Mac). Il valore della proprietà commandKey corrisponde a quello della proprietà ctrlKey in Mac. | MouseEvent | ||
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
controlKey : Boolean
Indica se il comando Ctrl è attivato in Mac, Windows e Linux. | MouseEvent | ||
ctrlKey : Boolean
In Windows o Linux, indica se il tasto Ctrl è attivo (true) o inattivo (false). | MouseEvent | ||
currentTarget : Object [sola lettura]
L'oggetto che elabora attivamente l'oggetto Event con un listener di eventi. | Event | ||
delta : int
Indica il numero di righe da scorrere per ogni unità di rotazione della rotella del mouse. | MouseEvent | ||
eventPhase : uint [sola lettura]
La fase attuale del flusso di eventi. | Event | ||
grid : Grid [sola lettura]
The Grid associated with this event. | GridEvent | ||
isRelatedObjectInaccessible : Boolean
Se è true, la proprietà relatedObject viene impostata su null per motivi riconducibili alle sandbox. | MouseEvent | ||
item : Object
The data provider item for this row, or null if the event
did not occur over a grid row. | GridEvent | ||
itemRenderer : IGridItemRenderer
The item renderer that displayed this cell, or null if the event
did not occur over a visible cell. | GridEvent | ||
localX : Number
Quando il blocco del mouse è disattivato, la coordinata orizzontale in corrispondenza della quale l'evento si è verificato in relazione allo sprite contenitore. | MouseEvent | ||
localY : Number
Quando il blocco del mouse è disattivato, la coordinata verticale in corrispondenza della quale l'evento si è verificato in relazione allo sprite contenitore. | MouseEvent | ||
movementX : Number
Quando il blocco del mouse è attivo, è il cambiamento di posizione del mouse nella direzione X dopo l'ultimo evento del mouse. | MouseEvent | ||
movementY : Number
Quando il blocco del mouse è attivo, è il cambiamento di posizione del mouse nella direzione Y dopo l'ultimo evento del mouse. | MouseEvent | ||
relatedObject : InteractiveObject
Un riferimento a un oggetto dell'elenco di visualizzazione relativo all'evento. | MouseEvent | ||
rowIndex : int
The index of the row where the event occurred, or -1 if the event
did not occur over a grid row. | GridEvent | ||
shiftKey : Boolean
Indica se il tasto Maiusc è attivo (true) o inattivo (false). | MouseEvent | ||
stageX : Number [sola lettura]
La coordinata orizzontale in cui si è verificato l'evento nelle coordinate globali dello stage. | MouseEvent | ||
stageY : Number [sola lettura]
La coordinata verticale in cui si è verificato l'evento nelle coordinate globali dello stage. | MouseEvent | ||
target : Object [sola lettura]
Il target dell'evento. | Event | ||
type : String [sola lettura]
Il tipo di evento. | Event |
Metodo | Definito da | ||
---|---|---|---|
GridEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = NaN, localY:Number = NaN, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0, rowIndex:int = -1, columnIndex:int = -1, column:GridColumn = null, item:Object = null, itemRenderer:IGridItemRenderer = null)
GridEvents dispatched by the Grid class in response to mouse event are constructed with
the incoming mouse event's properties. | GridEvent | ||
[override]
Crea una copia dell'oggetto MouseEvent e imposta il valore di ogni proprietà in modo che corrisponda a quello dell'originale. | MouseEvent | ||
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 | ||
[override]
Restituisce una stringa che contiene tutte le proprietà dell'oggetto MouseEvent. | MouseEvent | ||
Indica a Flash Player o ad Adobe AIR di eseguire il rendering al termine dell'elaborazione dell'evento se l'elenco di visualizzazione è stato modificato. | MouseEvent | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
Costante | Definito da | ||
---|---|---|---|
GRID_CLICK : String = "gridClick" [statico]
The value of the type property for a gridClick GridEvent. | GridEvent | ||
GRID_DOUBLE_CLICK : String = "gridDoubleClick" [statico]
The value of the type property for a gridDoubleClick GridEvent. | GridEvent | ||
GRID_MOUSE_DOWN : String = "gridMouseDown" [statico]
The value of the type property for a gridMouseDown GridEvent. | GridEvent | ||
GRID_MOUSE_DRAG : String = "gridMouseDrag" [statico]
The value of the type property for a gridMouseDrag GridEvent. | GridEvent | ||
GRID_MOUSE_UP : String = "gridMouseUp" [statico]
The value of the type property for a gridMouseUp GridEvent. | GridEvent | ||
GRID_ROLL_OUT : String = "gridRollOut" [statico]
The value of the type property for a gridRollOut GridEvent. | GridEvent | ||
GRID_ROLL_OVER : String = "gridRollOver" [statico]
The value of the type property for a gridRollOver GridEvent. | GridEvent | ||
SEPARATOR_CLICK : String = "separatorClick" [statico]
The value of the type property for a separatorClick GridEvent. | GridEvent | ||
SEPARATOR_DOUBLE_CLICK : String = "separatorDoubleClick" [statico]
The value of the type property for a separatorDoubleClick GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DOWN : String = "separatorMouseDown" [statico]
The value of the type property for a separatorMouseDown GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DRAG : String = "separatorMouseDrag" [statico]
The value of the type property for a separatorMouseDrag GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_UP : String = "separatorMouseUp" [statico]
The value of the type property for a separatorMouseUp GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OUT : String = "separatorRollOut" [statico]
The value of the type property for a separatorRollOut GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OVER : String = "separatorRollOver" [statico]
The value of the type property for a separatorRollOver GridEvent. | GridEvent |
column | proprietà |
public var column:GridColumn
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The column where the event occurred, or null if the event did not occur over a column.
columnIndex | proprietà |
public var columnIndex:int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The index of the column where the event occurred, or -1 if the event did not occur over a grid column.
grid | proprietà |
item | proprietà |
public var item:Object
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The data provider item for this row, or null if the event did not occur over a grid row.
itemRenderer | proprietà |
public var itemRenderer:IGridItemRenderer
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The item renderer that displayed this cell, or null if the event did not occur over a visible cell.
rowIndex | proprietà |
public var rowIndex:int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The index of the row where the event occurred, or -1 if the event did not occur over a grid row.
GridEvent | () | Funzione di costruzione |
public function GridEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = NaN, localY:Number = NaN, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0, rowIndex:int = -1, columnIndex:int = -1, column:GridColumn = null, item:Object = null, itemRenderer:IGridItemRenderer = null)
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
GridEvents dispatched by the Grid class in response to mouse event are constructed with
the incoming mouse event's properties.
The grid event's x,y location, meaning the value of
its localX
and localY
properties,
is defined relative to the entire grid, not just the
part of the grid that has been scrolled into view.
Similarly, the event's row and column
indices might correspond to a cell that has not been scrolled into view.
type:String — Distinguishes the mouse gesture that caused this event to be dispatched.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior associated with the event can be prevented.
| |
localX:Number (default = NaN ) — The event's x coordinate relative to grid.
| |
localY:Number (default = NaN ) — The event's y coordinate relative to grid.
| |
relatedObject:InteractiveObject (default = null ) — The index of the row where the event occurred, or -1.
| |
ctrlKey:Boolean (default = false ) — The index of the column where the event occurred, or -1.
| |
altKey:Boolean (default = false ) — The column where the event occurred, or null.
| |
shiftKey:Boolean (default = false ) — The data provider item at rowIndex .
| |
buttonDown:Boolean (default = false ) — The relatedObject property of the
MouseEvent that triggered this GridEvent.
| |
delta:int (default = 0 ) — The visible item renderer where the event occurred, or null.
| |
rowIndex:int (default = -1 ) — Whether the Control key is down.
| |
columnIndex:int (default = -1 ) — Whether the Alt key is down.
| |
column:GridColumn (default = null ) — Whether the Shift key is down.
| |
item:Object (default = null ) — Whether the Control key is down.
| |
itemRenderer:IGridItemRenderer (default = null ) — Not used.
|
GRID_CLICK | Costante |
public static const GRID_CLICK:String = "gridClick"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a gridClick
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.GRID_CLICK |
Elementi API correlati
GRID_DOUBLE_CLICK | Costante |
public static const GRID_DOUBLE_CLICK:String = "gridDoubleClick"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a gridDoubleClick
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.GRID_DOUBLE_CLICK |
Elementi API correlati
GRID_MOUSE_DOWN | Costante |
public static const GRID_MOUSE_DOWN:String = "gridMouseDown"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a gridMouseDown
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.GRID_MOUSE_DOWN |
Elementi API correlati
GRID_MOUSE_DRAG | Costante |
public static const GRID_MOUSE_DRAG:String = "gridMouseDrag"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a gridMouseDrag
GridEvent.
This event is only dispatched when a listener has handled a mouseDown
event,
and then only while the mouse moves with the button held down.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.GRID_MOUSE_DRAG |
GRID_MOUSE_UP | Costante |
public static const GRID_MOUSE_UP:String = "gridMouseUp"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a gridMouseUp
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.GRID_MOUSE_UP |
Elementi API correlati
GRID_ROLL_OUT | Costante |
public static const GRID_ROLL_OUT:String = "gridRollOut"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a gridRollOut
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.GRID_ROLL_OUT |
Elementi API correlati
GRID_ROLL_OVER | Costante |
public static const GRID_ROLL_OVER:String = "gridRollOver"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a gridRollOver
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.GRID_ROLL_OVER |
Elementi API correlati
SEPARATOR_CLICK | Costante |
public static const SEPARATOR_CLICK:String = "separatorClick"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a separatorClick
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.SEPARATOR_CLICK |
SEPARATOR_DOUBLE_CLICK | Costante |
public static const SEPARATOR_DOUBLE_CLICK:String = "separatorDoubleClick"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a separatorDoubleClick
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.SEPARATOR_DOUBLE_CLICK |
SEPARATOR_MOUSE_DOWN | Costante |
public static const SEPARATOR_MOUSE_DOWN:String = "separatorMouseDown"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a separatorMouseDown
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.SEPARATOR_MOUSE_DOWN |
Elementi API correlati
SEPARATOR_MOUSE_DRAG | Costante |
public static const SEPARATOR_MOUSE_DRAG:String = "separatorMouseDrag"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a separatorMouseDrag
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.SEPARATOR_MOUSE_DRAG |
SEPARATOR_MOUSE_UP | Costante |
public static const SEPARATOR_MOUSE_UP:String = "separatorMouseUp"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a separatorMouseUp
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.SEPARATOR_MOUSE_UP |
Elementi API correlati
SEPARATOR_ROLL_OUT | Costante |
public static const SEPARATOR_ROLL_OUT:String = "separatorRollOut"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a separatorRollOut
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.SEPARATOR_ROLL_OUT |
SEPARATOR_ROLL_OVER | Costante |
public static const SEPARATOR_ROLL_OVER:String = "separatorRollOver"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 4.5 |
Versioni runtime: | Flash Player 10, AIR 2.5 |
The value of the type
property for a separatorRollOver
GridEvent.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
column | The column where the event occurred, or null if the event did not occur over a column. |
columnIndex | The index of the column where the event occurred, or -1 if the event did not occur over a grid column. |
grid | The Grid associated with this event. |
item | The data provider item for this row, or null if the event did not occur over a grid row. |
itemRenderer | The The item renderer that displayed this cell, or null if the event did not occur over a visible cell. |
rowIndex | The index of the row where the event occurred, or -1 if the event did not occur over a grid row. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
type | GirdEvent.SEPARATOR_ROLL_OVER |
Tue Jun 12 2018, 02:44 PM Z