| Pakiet | mx.events |
| Klasa | public class FileEvent |
| Dziedziczenie | FileEvent Event Object |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | AIR 1.1 |
Powiązane elementy interfejsu API
mx.controls.FileSystemDataGrid
mx.controls.FileSystemList
mx.controls.FileSystemTree
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
![]() | bubbles : Boolean [tylko do odczytu]
Określa, czy zdarzenie może przechodzić fazę propagacji. | Event | |
![]() | cancelable : Boolean [tylko do odczytu]
Wskazuje, czy można uniemożliwić operacje skojarzone ze zdarzeniem. | Event | |
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
![]() | currentTarget : Object [tylko do odczytu]
Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. | Event | |
![]() | eventPhase : uint [tylko do odczytu]
Bieżąca faza przepływu zdarzeń. | Event | |
| file : File
The File instance associated with this event. | FileEvent | ||
![]() | target : Object [tylko do odczytu]
Miejsce docelowe zdarzenia. | Event | |
![]() | type : String [tylko do odczytu]
Typ zdarzenia. | Event | |
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
Constructor. | FileEvent | ||
![]() |
Powiela instancję podklasy Event. | Event | |
![]() |
Funkcja narzędziowa umożliwiająca implementację metody toString() w niestandardowych klasach Event w języku ActionScript 3.0. | Event | |
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
![]() |
Sprawdza, czy w odniesieniu do tego zdarzenia wywołano metodę preventDefault(). | Event | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Anuluje domyślne ustawienia zdarzenia, o ile zachowanie to może być anulowane. | Event | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węźle bieżącym i węzłach następujących po nim. | Event | |
![]() |
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węzłach następujących po węźle bieżącym w przepływie zdarzeń. | Event | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu Event. | Event | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
| Stała | Zdefiniowane przez | ||
|---|---|---|---|
| DIRECTORY_CHANGE : String = "directoryChange" [statyczny]
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" [statyczny]
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" [statyczny]
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" [statyczny]
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" [statyczny]
The FileEvent.FILE_CHOOSE constant defines the value of the
type property of the event object for a
fileChoose event. | FileEvent | ||
file | właściwość |
public var file:File| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | AIR 1.1 |
The File instance associated with this event.
FileEvent | () | Konstruktor |
public function FileEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, file:File = null)| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | AIR 1.1 |
Constructor.
Parametrytype: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 | Stała |
public static const DIRECTORY_CHANGE:String = "directoryChange"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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 | Stała |
public static const DIRECTORY_CHANGING:String = "directoryChanging"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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 | Stała |
public static const DIRECTORY_CLOSING:String = "directoryClosing"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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 | Stała |
public static const DIRECTORY_OPENING:String = "directoryOpening"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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 | Stała |
public static const FILE_CHOOSE:String = "fileChoose"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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 |
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne