| Pakket | mx.automation.events |
| Klasse | public class TextSelectionEvent |
| Overerving | TextSelectionEvent Event Object |
| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Meer voorbeelden
Openbare eigenschappen
| Eigenschap | Gedefinieerd door | ||
|---|---|---|---|
| beginIndex : int
Index at which selection starts. | TextSelectionEvent | ||
![]() | bubbles : Boolean [alleen-lezen]
Geeft aan of een gebeurtenis een terugkoppelgebeurtenis is. | Event | |
![]() | cancelable : Boolean [alleen-lezen]
Geeft aan of het gedrag dat aan deze gebeurtenis is gekoppeld, kan worden voorkomen. | Event | |
![]() | constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | |
![]() | currentTarget : Object [alleen-lezen]
Het object dat het gebeurtenisobject actief verwerkt met een gebeurtenislistener. | Event | |
| endIndex : int
Index at which selection ends. | TextSelectionEvent | ||
![]() | eventPhase : uint [alleen-lezen]
De huidige fase in de gebeurtenisstroom. | Event | |
![]() | target : Object [alleen-lezen]
Doel van gebeurtenis. | Event | |
![]() | type : String [alleen-lezen]
Het type gebeurtenis. | Event | |
Openbare methoden
| Methode | Gedefinieerd door | ||
|---|---|---|---|
TextSelectionEvent(type:String = "textSelectionChange", bubbles:Boolean = false, cancelable:Boolean = false, beginIndex:int = -1, endIndex:int = -1)
Constructor. | TextSelectionEvent | ||
![]() |
Dupliceert een instantie van een subklasse Event. | Event | |
![]() |
Een hulpprogrammafunctie voor de implementatie van de methode toString() in aangepaste ActionScript 3.0-Event-klassen. | Event | |
![]() |
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | |
![]() |
Controleert of de methode preventDefault() is aangeroepen voor de gebeurtenis. | Event | |
![]() |
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | |
![]() |
Annuleert het standaardgedrag van een gebeurtenis wanneer dat gedrag kan worden geannuleerd. | Event | |
![]() |
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | |
![]() |
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | |
![]() |
Voorkomt het verwerken van gebeurtenislisteners in het huidige knooppunt en volgende knooppunten in de gebeurtenisstroom. | Event | |
![]() |
Voorkomt het verwerken van gebeurtenislisteners in knooppunten die volgen op het huidige knooppunt in de gebeurtenisstroom. | Event | |
![]() |
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | |
![]() |
Retourneert een tekenreeks die alle eigenschappen van het Event-object bevat. | Event | |
![]() |
Retourneert de primitieve waarde van het opgegeven object. | Object | |
Openbare constanten
| Constante | Gedefinieerd door | ||
|---|---|---|---|
| TEXT_SELECTION_CHANGE : String = "textSelectionChange" [statisch]
The TextSelectionEvent.TEXT_SELECTION_CHANGE constant defines the value of the
type property of the event object for a textSelectionChange event. | TextSelectionEvent | ||
Eigenschapdetails
beginIndex | eigenschap |
public var beginIndex:int| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Index at which selection starts.
endIndex | eigenschap |
public var endIndex:int| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Index at which selection ends.
Constructordetails
TextSelectionEvent | () | Constructor |
public function TextSelectionEvent(type:String = "textSelectionChange", bubbles:Boolean = false, cancelable:Boolean = false, beginIndex:int = -1, endIndex:int = -1)| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructor.
Parameterstype:String (default = "textSelectionChange") — 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.
| |
beginIndex:int (default = -1) — Index at which selection starts.
| |
endIndex:int (default = -1) — Index at which selection ends.
|
Constantedetails
TEXT_SELECTION_CHANGE | Constante |
public static const TEXT_SELECTION_CHANGE:String = "textSelectionChange"| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
The TextSelectionEvent.TEXT_SELECTION_CHANGE constant defines the value of the
type property of the event object for a textSelectionChange event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
beginIndex | Index at which selection starts. |
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. |
endIndex | Index at which selection ends. |
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. |
Wed Jun 13 2018, 11:42 AM Z
Overerfde openbare eigenschappen verbergen
Overerfde openbare eigenschappen weergeven