Pakket | mx.events |
Klasse | public class FileEvent |
Overerving | FileEvent Event Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
Verwante API-elementen
mx.controls.FileSystemDataGrid
mx.controls.FileSystemList
mx.controls.FileSystemTree
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
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 | ||
eventPhase : uint [alleen-lezen]
De huidige fase in de gebeurtenisstroom. | Event | ||
file : File
The File instance associated with this event. | FileEvent | ||
target : Object [alleen-lezen]
Doel van gebeurtenis. | Event | ||
type : String [alleen-lezen]
Het type gebeurtenis. | Event |
Methode | Gedefinieerd door | ||
---|---|---|---|
Constructor. | FileEvent | ||
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 |
Constante | Gedefinieerd door | ||
---|---|---|---|
DIRECTORY_CHANGE : String = "directoryChange" [statisch]
The FileEvent.DIRECTORY_CHANGE constant defines the value of the
type property of the event object for a
directoryChange event. | FileEvent | ||
DIRECTORY_CHANGING : String = "directoryChanging" [statisch]
The FileEvent.DIRECTORY_CHANGING constant defines the value of the
type property of the event object for a
directoryChanging event. | FileEvent | ||
DIRECTORY_CLOSING : String = "directoryClosing" [statisch]
The FileEvent.DIRECTORY_CLOSING constant defines the value of the
type property of the event object for a
directoryClosing event. | FileEvent | ||
DIRECTORY_OPENING : String = "directoryOpening" [statisch]
The FileEvent.DIRECTORY_OPENING constant defines the value of the
type property of the event object for a
directoryOpening event. | FileEvent | ||
FILE_CHOOSE : String = "fileChoose" [statisch]
The FileEvent.FILE_CHOOSE constant defines the value of the
type property of the event object for a
fileChoose event. | FileEvent |
file | eigenschap |
public var file:File
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
The File instance associated with this event.
FileEvent | () | Constructor |
public function FileEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, file:File = null)
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
Constructor.
Parameterstype: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.
| |
file:File (default = null ) — The File instance associated with this event.
|
DIRECTORY_CHANGE | Constante |
public static const DIRECTORY_CHANGE:String = "directoryChange"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
The FileEvent.DIRECTORY_CHANGE constant defines the value of the
type
property of the event object for a
directoryChange
event.
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 . |
file | The File object associated with this event. |
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 | FileEvent.DIRECTORY_CHANGE |
DIRECTORY_CHANGING | Constante |
public static const DIRECTORY_CHANGING:String = "directoryChanging"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
The FileEvent.DIRECTORY_CHANGING constant defines the value of the
type
property of the event object for a
directoryChanging
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
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 . |
file | The File object associated with this event. |
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 | FileEvent.DIRECTORY_CHANGING |
DIRECTORY_CLOSING | Constante |
public static const DIRECTORY_CLOSING:String = "directoryClosing"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
The FileEvent.DIRECTORY_CLOSING constant defines the value of the
type
property of the event object for a
directoryClosing
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
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 . |
file | The File object associated with this event. |
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 | FileEvent.DIRECTORY_CLOSING |
DIRECTORY_OPENING | Constante |
public static const DIRECTORY_OPENING:String = "directoryOpening"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
The FileEvent.DIRECTORY_OPENING constant defines the value of the
type
property of the event object for a
directoryOpening
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
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 . |
file | The File object associated with this event. |
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 | FileEvent.DIRECTORY_OPENING |
FILE_CHOOSE | Constante |
public static const FILE_CHOOSE:String = "fileChoose"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | AIR 1.1 |
The FileEvent.FILE_CHOOSE constant defines the value of the
type
property of the event object for a
fileChoose
event.
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 . |
file | The File object associated with this event. |
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 | FileEvent.FILE_CHOOSE |
Wed Jun 13 2018, 11:42 AM Z