Paquete | spark.events |
Clase | public class GridEvent |
Herencia | GridEvent MouseEvent Event Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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.
Elementos de API relacionados
Propiedad | Definido por | ||
---|---|---|---|
altKey : Boolean
Indica si la tecla Alt está activa (true) o inactiva (false). | MouseEvent | ||
bubbles : Boolean [solo lectura]
Indica si un evento es un evento de propagación. | Event | ||
buttonDown : Boolean
Indica si se pulsa el botón principal del ratón (true) o no (false). | MouseEvent | ||
cancelable : Boolean [solo lectura]
Indica si se puede evitar el comportamiento asociado al evento. | Event | ||
clickCount : int [solo lectura]
Indica si el evento MouseDown forma parte o no de una secuencia de varios clics. | 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 si la tecla Comando está activada (sólo en Mac). El valor de la propiedad commandKey tiene el mismo valor que la propiedad ctrlKey en Mac. | MouseEvent | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
controlKey : Boolean
Indica si la tecla Control está activada en Mac y si la tecla Ctrl está activada en Windows o Linux. | MouseEvent | ||
ctrlKey : Boolean
En Windows o Linux, indica si la tecla Ctrl está activa (true) o inactiva (false). | MouseEvent | ||
currentTarget : Object [solo lectura]
Objeto que procesa de forma activa el objeto de evento con un detector de eventos. | Event | ||
delta : int
Indica el número de líneas que debe desplazarse la visualización por cada vuelta de la rueda del ratón. | MouseEvent | ||
eventPhase : uint [solo lectura]
La fase actual en el flujo del evento. | Event | ||
grid : Grid [solo lectura]
The Grid associated with this event. | GridEvent | ||
isRelatedObjectInaccessible : Boolean
Si es true, la propiedad relatedObject se establece como null por motivos relacionados con entornos limitados de seguridad. | 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
Cuando el bloqueo del ratón está desactivado, la coordenada horizontal en la que se produce el evento relativo a la clase Sprite contenida. | MouseEvent | ||
localY : Number
Cuando el bloqueo del ratón está desactivado, la coordenada vertical en la que se produce el evento relativo a la clase Sprite contenida. | MouseEvent | ||
movementX : Number
Cuando el bloqueo del ratón está activado, el cambio en la posición del ratón en la dirección X desde el último evento de ratón. | MouseEvent | ||
movementY : Number
Cuando el bloqueo del ratón está activado, el cambio en la posición del ratón en la dirección Y desde el último evento de ratón. | MouseEvent | ||
relatedObject : InteractiveObject
Referencia a un objeto de la lista de visualización relacionado con el 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 si la tecla Mayús está activa (true) o inactiva (false). | MouseEvent | ||
stageX : Number [solo lectura]
La coordenada horizontal en la que se produce el evento en las coordenadas globales del escenario. | MouseEvent | ||
stageY : Number [solo lectura]
La coordenada vertical en la que se produce el evento en las coordenadas globales del escenario. | MouseEvent | ||
target : Object [solo lectura]
El destino del evento. | Event | ||
type : String [solo lectura]
El tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
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 del objeto MouseEvent y define el valor de cada propiedad para que coincida con el del objeto original. | MouseEvent | ||
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0. | Event | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Comprueba si se ha llamado a preventDefault() en el evento. | Event | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo. | Event | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento. | Event | ||
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual. | Event | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
[override]
Devuelve una cadena con todas las propiedades del objeto MouseEvent. | MouseEvent | ||
Si se ha modificado la lista de visualización, da instrucciones a Flash Player o a Adobe AIR para que muestre la representación tras finalizar el procesamiento del evento. | MouseEvent | ||
Devuelve el valor simple del objeto especificado. | Object |
Constante | Definido por | ||
---|---|---|---|
GRID_CLICK : String = "gridClick" [estática]
The value of the type property for a gridClick GridEvent. | GridEvent | ||
GRID_DOUBLE_CLICK : String = "gridDoubleClick" [estática]
The value of the type property for a gridDoubleClick GridEvent. | GridEvent | ||
GRID_MOUSE_DOWN : String = "gridMouseDown" [estática]
The value of the type property for a gridMouseDown GridEvent. | GridEvent | ||
GRID_MOUSE_DRAG : String = "gridMouseDrag" [estática]
The value of the type property for a gridMouseDrag GridEvent. | GridEvent | ||
GRID_MOUSE_UP : String = "gridMouseUp" [estática]
The value of the type property for a gridMouseUp GridEvent. | GridEvent | ||
GRID_ROLL_OUT : String = "gridRollOut" [estática]
The value of the type property for a gridRollOut GridEvent. | GridEvent | ||
GRID_ROLL_OVER : String = "gridRollOver" [estática]
The value of the type property for a gridRollOver GridEvent. | GridEvent | ||
SEPARATOR_CLICK : String = "separatorClick" [estática]
The value of the type property for a separatorClick GridEvent. | GridEvent | ||
SEPARATOR_DOUBLE_CLICK : String = "separatorDoubleClick" [estática]
The value of the type property for a separatorDoubleClick GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DOWN : String = "separatorMouseDown" [estática]
The value of the type property for a separatorMouseDown GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DRAG : String = "separatorMouseDrag" [estática]
The value of the type property for a separatorMouseDrag GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_UP : String = "separatorMouseUp" [estática]
The value of the type property for a separatorMouseUp GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OUT : String = "separatorRollOut" [estática]
The value of the type property for a separatorRollOut GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OVER : String = "separatorRollOver" [estática]
The value of the type property for a separatorRollOver GridEvent. | GridEvent |
column | propiedad |
public var column:GridColumn
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | Flash Player 10, AIR 2.5 |
The column where the event occurred, or null if the event did not occur over a column.
columnIndex | propiedad |
public var columnIndex:int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | propiedad |
item | propiedad |
public var item:Object
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | propiedad |
public var itemRenderer:IGridItemRenderer
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | propiedad |
public var rowIndex:int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | () | Información sobre |
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)
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | Constante |
public static const GRID_CLICK:String = "gridClick"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
GRID_DOUBLE_CLICK | Constante |
public static const GRID_DOUBLE_CLICK:String = "gridDoubleClick"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
GRID_MOUSE_DOWN | Constante |
public static const GRID_MOUSE_DOWN:String = "gridMouseDown"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
GRID_MOUSE_DRAG | Constante |
public static const GRID_MOUSE_DRAG:String = "gridMouseDrag"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | Constante |
public static const GRID_MOUSE_UP:String = "gridMouseUp"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
GRID_ROLL_OUT | Constante |
public static const GRID_ROLL_OUT:String = "gridRollOut"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
GRID_ROLL_OVER | Constante |
public static const GRID_ROLL_OVER:String = "gridRollOver"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
SEPARATOR_CLICK | Constante |
public static const SEPARATOR_CLICK:String = "separatorClick"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | Constante |
public static const SEPARATOR_DOUBLE_CLICK:String = "separatorDoubleClick"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | Constante |
public static const SEPARATOR_MOUSE_DOWN:String = "separatorMouseDown"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
SEPARATOR_MOUSE_DRAG | Constante |
public static const SEPARATOR_MOUSE_DRAG:String = "separatorMouseDrag"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | Constante |
public static const SEPARATOR_MOUSE_UP:String = "separatorMouseUp"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 |
Elementos de API relacionados
SEPARATOR_ROLL_OUT | Constante |
public static const SEPARATOR_ROLL_OUT:String = "separatorRollOut"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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 | Constante |
public static const SEPARATOR_ROLL_OVER:String = "separatorRollOver"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4.5 |
Versiones de motor de ejecución: | 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:12 PM Z