Paket | spark.events |
Klass | public class GridEvent |
Arv | GridEvent MouseEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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.
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
altKey : Boolean
Anger om Alt-tangenten är aktiv (true) eller inaktiv (false). | MouseEvent | ||
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
buttonDown : Boolean
Anger om den primära musknappen är nedtryckt (true) eller inte (false). | MouseEvent | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
clickCount : int [skrivskyddad]
Anger om mus ned-händelsen är en del i sekvensen med flera klick. | 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
Anger om kommandotangenten är aktiverad (endast Macintosh.) Värdet på egenskapen commandKey kommer att ha samma värde som egenskapen ctrlKey i Macintosh. | MouseEvent | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
controlKey : Boolean
Anger om Ctrl-tangenten är aktiv i Macintosh, Windows eller Linux. | MouseEvent | ||
ctrlKey : Boolean
Anger om Ctrl-tangenten är aktiv (true) eller inaktiv (false) i Windows eller Linux. | MouseEvent | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
delta : int
Anger hur många rader fönstret ska rullas för varje enhet användaren vrider mushjulet. | MouseEvent | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
grid : Grid [skrivskyddad]
The Grid associated with this event. | GridEvent | ||
isRelatedObjectInaccessible : Boolean
Om true, är egenskapen relatedObject satt till null av orsaker som är relaterade till säkerhetssandlådor. | 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
Den vågräta koordinat som händelsen inträffade vid i förhållande till behållar-spriten, om låsning av musen är inaktiverat. | MouseEvent | ||
localY : Number
Den lodräta koordinat som händelsen inträffade vid i förhållande till behållar-spriten, om låsning av musen är inaktiverat. | MouseEvent | ||
movementX : Number
Förändringen av musens position i X-riktning sedan den senaste mushändelsen, om låsning av musen är aktiverat. | MouseEvent | ||
movementY : Number
Förändringen av musens position i Y-riktning sedan den senaste mushändelsen, om låsning av musen är aktiverat. | MouseEvent | ||
relatedObject : InteractiveObject
En referens till ett visningslisteobjekt som är relaterat till händelsen. | 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
Anger om skifttangenten är aktiv (true) eller inaktiv (false). | MouseEvent | ||
stageX : Number [skrivskyddad]
Den vågräta koordinat som händelsen inträffade vid i globala scenkoordinater. | MouseEvent | ||
stageY : Number [skrivskyddad]
Den lodräta koordinat som händelsen inträffade vid i globala scenkoordinater. | MouseEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
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 | ||
[åsidosätt]
Skapar en kopia av MouseEvent-objektet och ställer in värdet för alla egenskaper så att de matchar originalets egenskaper. | MouseEvent | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
[åsidosätt]
Returnerar en sträng som innehåller alla egenskaper i MouseEvent-objektet. | MouseEvent | ||
Instruerar Flash Player eller Adobe AIR att göra en rendering när den här händelsen har behandlats, om visningslistan har ändrats. | MouseEvent | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
GRID_CLICK : String = "gridClick" [statisk]
The value of the type property for a gridClick GridEvent. | GridEvent | ||
GRID_DOUBLE_CLICK : String = "gridDoubleClick" [statisk]
The value of the type property for a gridDoubleClick GridEvent. | GridEvent | ||
GRID_MOUSE_DOWN : String = "gridMouseDown" [statisk]
The value of the type property for a gridMouseDown GridEvent. | GridEvent | ||
GRID_MOUSE_DRAG : String = "gridMouseDrag" [statisk]
The value of the type property for a gridMouseDrag GridEvent. | GridEvent | ||
GRID_MOUSE_UP : String = "gridMouseUp" [statisk]
The value of the type property for a gridMouseUp GridEvent. | GridEvent | ||
GRID_ROLL_OUT : String = "gridRollOut" [statisk]
The value of the type property for a gridRollOut GridEvent. | GridEvent | ||
GRID_ROLL_OVER : String = "gridRollOver" [statisk]
The value of the type property for a gridRollOver GridEvent. | GridEvent | ||
SEPARATOR_CLICK : String = "separatorClick" [statisk]
The value of the type property for a separatorClick GridEvent. | GridEvent | ||
SEPARATOR_DOUBLE_CLICK : String = "separatorDoubleClick" [statisk]
The value of the type property for a separatorDoubleClick GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DOWN : String = "separatorMouseDown" [statisk]
The value of the type property for a separatorMouseDown GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_DRAG : String = "separatorMouseDrag" [statisk]
The value of the type property for a separatorMouseDrag GridEvent. | GridEvent | ||
SEPARATOR_MOUSE_UP : String = "separatorMouseUp" [statisk]
The value of the type property for a separatorMouseUp GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OUT : String = "separatorRollOut" [statisk]
The value of the type property for a separatorRollOut GridEvent. | GridEvent | ||
SEPARATOR_ROLL_OVER : String = "separatorRollOver" [statisk]
The value of the type property for a separatorRollOver GridEvent. | GridEvent |
column | egenskap |
public var column:GridColumn
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
The column where the event occurred, or null if the event did not occur over a column.
columnIndex | egenskap |
public var columnIndex:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | egenskap |
item | egenskap |
public var item:Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | egenskap |
public var itemRenderer:IGridItemRenderer
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | egenskap |
public var rowIndex:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | () | Konstruktor |
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)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | Konstant |
public static const GRID_CLICK:String = "gridClick"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
GRID_DOUBLE_CLICK | Konstant |
public static const GRID_DOUBLE_CLICK:String = "gridDoubleClick"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
GRID_MOUSE_DOWN | Konstant |
public static const GRID_MOUSE_DOWN:String = "gridMouseDown"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
GRID_MOUSE_DRAG | Konstant |
public static const GRID_MOUSE_DRAG:String = "gridMouseDrag"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | Konstant |
public static const GRID_MOUSE_UP:String = "gridMouseUp"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
GRID_ROLL_OUT | Konstant |
public static const GRID_ROLL_OUT:String = "gridRollOut"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
GRID_ROLL_OVER | Konstant |
public static const GRID_ROLL_OVER:String = "gridRollOver"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
SEPARATOR_CLICK | Konstant |
public static const SEPARATOR_CLICK:String = "separatorClick"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | Konstant |
public static const SEPARATOR_DOUBLE_CLICK:String = "separatorDoubleClick"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | Konstant |
public static const SEPARATOR_MOUSE_DOWN:String = "separatorMouseDown"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
SEPARATOR_MOUSE_DRAG | Konstant |
public static const SEPARATOR_MOUSE_DRAG:String = "separatorMouseDrag"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | Konstant |
public static const SEPARATOR_MOUSE_UP:String = "separatorMouseUp"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 |
Relaterade API-element
SEPARATOR_ROLL_OUT | Konstant |
public static const SEPARATOR_ROLL_OUT:String = "separatorRollOut"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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 | Konstant |
public static const SEPARATOR_ROLL_OVER:String = "separatorRollOver"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | 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, 01:40 PM Z