Paket | spark.events |
Klass | public class GridCaretEvent |
Arv | GridCaretEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
newColumnIndex : int
The zero-based index of the column of the
caret position after it was changed. | GridCaretEvent | ||
newRowIndex : int
The zero-based index of the row of the
caret position after it was changed. | GridCaretEvent | ||
oldColumnIndex : int
The zero-based index of the column of the
caret position before it was changed. | GridCaretEvent | ||
oldRowIndex : int
The zero-based index of the row of the
caret position before it was changed. | GridCaretEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
GridCaretEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldRowIndex:int = -1, oldColumnIndex:int = -1, newRowIndex:int = -1, newColumnIndex:int = -1)
Constructor. | GridCaretEvent | ||
Skapar ett duplikat av en instans av en Event-underklass. | Event | ||
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 | ||
Returnerar en sträng som innehåller alla egenskaper i Event-objektet. | Event | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
CARET_CHANGE : String = "caretChange" [statisk]
The GridSelectionEvent.CARET_CHANGE constant defines
the value of the type property of the event object for a
caretChange event, which indicates that the current
caret position has just been changed. | GridCaretEvent |
newColumnIndex | egenskap |
public var newColumnIndex:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
The zero-based index of the column of the caret position after it was changed.
If the selectionMode
is SelectionMode.SINGLE_ROW
or
SelectionMode.MULTIPLE_ROWS
this will be -1 to indicate
it is not being used.
Relaterade API-element
newRowIndex | egenskap |
public var newRowIndex:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
The zero-based index of the row of the caret position after it was changed.
Relaterade API-element
oldColumnIndex | egenskap |
public var oldColumnIndex:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
The zero-based index of the column of the caret position before it was changed.
If the selectionMode
is SelectionMode.SINGLE_ROW
or
SelectionMode.MULTIPLE_ROWS
, this valueis -1 to indicate
it is not being used.
Relaterade API-element
oldRowIndex | egenskap |
public var oldRowIndex:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
The zero-based index of the row of the caret position before it was changed.
Standardvärdet är -1.
Relaterade API-element
GridCaretEvent | () | Konstruktor |
public function GridCaretEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldRowIndex:int = -1, oldColumnIndex:int = -1, newRowIndex:int = -1, newColumnIndex:int = -1)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
Constructor.
Parametrartype:String — The event type; indicates the action that caused the event.
| |
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.
| |
oldRowIndex:int (default = -1 ) — The zero-based column index of the caret position
before the change. If the selectionMode is either
SelectionMode.SINGLE_ROW or
SelectionMode.MULTIPLE_ROWS , this is -1.
| |
oldColumnIndex:int (default = -1 ) — The zero-based row index of the caret position before
the change.
| |
newRowIndex:int (default = -1 ) — The zero-based column index of the caret position
after the change. If the selectionMode is either
SelectionMode.SINGLE_ROW or
SelectionMode.MULTIPLE_ROWS , this is -1.
| |
newColumnIndex:int (default = -1 ) — The zero-based row index of the caret position after
the change.
|
Relaterade API-element
CARET_CHANGE | Konstant |
public static const CARET_CHANGE:String = "caretChange"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4.5 |
Körningsmiljöversioner: | Flash Player 10, AIR 2.5 |
The GridSelectionEvent.CARET_CHANGE
constant defines
the value of the type
property of the event object for a
caretChange
event, which indicates that the current
caret position has just been changed.
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 . |
newColumnIndex | The zero-based column
index of the caret position after it was changed. It is -1 if
the selectionMode is row-based. |
newRowIndex | The zero-based row index of the caret position after it was changed. |
oldColumnIndex | The zero-based column
index of the caret position before it was changed. It is -1 if
the selectionMode is row-based. |
oldRowIndex | The zero-based row index of the caret position before it was changed. |
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 | GirdCaretEvent.CARET_CHANGE |
Tue Jun 12 2018, 01:40 PM Z