Pacote | spark.events |
Classe | public class GridEvent |
Herança | GridEvent MouseEvent Event Object |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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.
Elementos da API relacionados
Propriedade | Definido por | ||
---|---|---|---|
altKey : Boolean
Indica se a tecla Alt está ativa (true) ou inativa (false). | MouseEvent | ||
bubbles : Boolean [somente leitura]
Indica se um evento é do tipo bubbling. | Event | ||
buttonDown : Boolean
Indica se o botão do mouse principal está pressionado (true) ou não (false). | MouseEvent | ||
cancelable : Boolean [somente leitura]
Indica se o comportamento associado ao evento pode ser impedido. | Event | ||
clickCount : int [somente leitura]
Indica se o evento mouse down é parte ou não de uma sequência de vários cliques. | 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 a tecla Command está ativada (só no Mac). O valor da propriedade commandKey terá o mesmo valor que a propriedade ctrlKey no Mac. | MouseEvent | ||
constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | ||
controlKey : Boolean
Indica se a tecla Control está ativada no Mac e se a tecla Ctrl está ativada no Windows ou no Linux. | MouseEvent | ||
ctrlKey : Boolean
No Windows ou no Linux, indica se a tecla Ctrl está ativa (true) ou inativa (false). | MouseEvent | ||
currentTarget : Object [somente leitura]
O objeto que está processando ativamente o objeto Event com um ouvinte de evento. | Event | ||
delta : int
Indica quantas linhas devem ser roladas para cada unidade em que o usuário gira a roda do mouse. | MouseEvent | ||
eventPhase : uint [somente leitura]
A fase atual no fluxo de eventos. | Event | ||
grid : Grid [somente leitura]
The Grid associated with this event. | GridEvent | ||
isRelatedObjectInaccessible : Boolean
Se verdadeiro, a propriedade relatedObject será definida como nula por motivos relacionados às caixas de proteção de segurança. | 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 o travamento de mouse está desativado, a coordenada horizontal na qual o evento ocorreu relacionada à entidade gráfica que contém. | MouseEvent | ||
localY : Number
Quando o travamento de mouse está desativado, a coordenada vertical na qual o evento ocorreu relacionada à entidade gráfica que contém. | MouseEvent | ||
movementX : Number
Quando o travamento de mouse é ativado, a alteração na posição do mouse na direção X desde o último evento de mouse. | MouseEvent | ||
movementY : Number
Quando o travamento de mouse é ativado, a alteração na posição do mouse na direção Y desde o último evento de mouse. | MouseEvent | ||
relatedObject : InteractiveObject
Uma referência a um objeto de lista de exibição relacionado ao 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 a tecla Shift está ativa (true) ou inativa (false). | MouseEvent | ||
stageX : Number [somente leitura]
A coordenada horizontal na qual o evento ocorreu em coordenadas globais de Palco. | MouseEvent | ||
stageY : Number [somente leitura]
A coordenada vertical na qual o evento ocorreu em coordenadas globais de Palco. | MouseEvent | ||
target : Object [somente leitura]
O destino de evento. | Event | ||
type : String [somente leitura]
O 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 | ||
[substituir]
Cria uma cópia do objeto MouseEvent e define o valor de cada propriedade para corresponder ao do original. | MouseEvent | ||
Uma função de utilitário para implementar o método toString() em classes ActionScript 3.0 Event personalizadas. | Event | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Verifica se o método preventDefault() foi chamado no evento. | Event | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Cancela um comportamento padrão de evento se esse comportamento puder ser cancelado. | Event | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
Impede o processamento de qualquer ouvinte de evento no nó atual e qualquer nó subsequente no fluxo de eventos. | Event | ||
Impede o processamento de algum ouvinte de evento em nós subsequentes ao nó atual no fluxo de eventos. | Event | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
[substituir]
Retorna uma string que contém todas as propriedades do objeto MouseEvent. | MouseEvent | ||
Instrui o Flash Player ou Adobe AIR a aplicar acabamento após o término do processamento desse evento, se a lista de exibição tiver sido modificada. | MouseEvent | ||
Retorna o valor primitivo do objeto especificado. | Object |
Constante | Definido por | ||
---|---|---|---|
GRID_CLICK : String = "gridClick" [estático]
The value of the type property for a gridClick GridEvent. | GridEvent | ||
GRID_DOUBLE_CLICK : String = "gridDoubleClick" [estático]
The value of the type property for a gridDoubleClick GridEvent. | GridEvent | ||
GRID_MOUSE_DOWN : String = "gridMouseDown" [estático]
The value of the type property for a gridMouseDown GridEvent. | GridEvent | ||
GRID_MOUSE_DRAG : String = "gridMouseDrag" [estático]
The value of the type property for a gridMouseDrag GridEvent. | GridEvent | ||
GRID_MOUSE_UP : String = "gridMouseUp" [estático]
The value of the type property for a gridMouseUp GridEvent. | GridEvent | ||
GRID_ROLL_OUT : String = "gridRollOut" [estático]
The value of the type property for a gridRollOut GridEvent. | GridEvent | ||
GRID_ROLL_OVER : String = "gridRollOver" [estático]
The value of the type property for a gridRollOver GridEvent. | GridEvent | ||
SEPARATOR_CLICK : String = "separatorClick" [estático]
The value of the type property for a separatorClick GridEvent. | GridEvent | ||
SEPARATOR_DOUBLE_CLICK : String = "separatorDoubleClick" [estático]
The value of the type property for a separatorDoubleClick GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DOWN : String = "separatorMouseDown" [estático]
The value of the type property for a separatorMouseDown GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DRAG : String = "separatorMouseDrag" [estático]
The value of the type property for a separatorMouseDrag GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_UP : String = "separatorMouseUp" [estático]
The value of the type property for a separatorMouseUp GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OUT : String = "separatorRollOut" [estático]
The value of the type property for a separatorRollOut GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OVER : String = "separatorRollOver" [estático]
The value of the type property for a separatorRollOver GridEvent. | GridEvent |
column | propriedade |
public var column:GridColumn
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | propriedade |
public var columnIndex:int
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | propriedade |
item | propriedade |
public var item:Object
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | propriedade |
public var itemRenderer:IGridItemRenderer
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | propriedade |
public var rowIndex:int
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | () | Construtor |
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)
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | Constante |
public static const GRID_CLICK:String = "gridClick"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
GRID_DOUBLE_CLICK | Constante |
public static const GRID_DOUBLE_CLICK:String = "gridDoubleClick"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
GRID_MOUSE_DOWN | Constante |
public static const GRID_MOUSE_DOWN:String = "gridMouseDown"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
GRID_MOUSE_DRAG | Constante |
public static const GRID_MOUSE_DRAG:String = "gridMouseDrag"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | Constante |
public static const GRID_MOUSE_UP:String = "gridMouseUp"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
GRID_ROLL_OUT | Constante |
public static const GRID_ROLL_OUT:String = "gridRollOut"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
GRID_ROLL_OVER | Constante |
public static const GRID_ROLL_OVER:String = "gridRollOver"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
SEPARATOR_CLICK | Constante |
public static const SEPARATOR_CLICK:String = "separatorClick"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | Constante |
public static const SEPARATOR_DOUBLE_CLICK:String = "separatorDoubleClick"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | Constante |
public static const SEPARATOR_MOUSE_DOWN:String = "separatorMouseDown"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
SEPARATOR_MOUSE_DRAG | Constante |
public static const SEPARATOR_MOUSE_DRAG:String = "separatorMouseDrag"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | Constante |
public static const SEPARATOR_MOUSE_UP:String = "separatorMouseUp"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Elementos da API relacionados
SEPARATOR_ROLL_OUT | Constante |
public static const SEPARATOR_ROLL_OUT:String = "separatorRollOut"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 | Constante |
public static const SEPARATOR_ROLL_OVER:String = "separatorRollOver"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4.5 |
Versões de 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 |
Wed Jun 13 2018, 11:10 AM Z