| Pakiet | mx.automation.events |
| Klasa | public class AutomationDragEventWithPositionInfo |
| Dziedziczenie | AutomationDragEventWithPositionInfo AutomationDragEvent MouseEvent Event Object |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Powiązane elementy interfejsu API
Właściwości publiczne
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
AutomationDragEventWithPositionInfo(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, localx:int = -1, localy:int = -1)
Constructor. | AutomationDragEventWithPositionInfo | ||
![]() | [przesłanianie]
Tworzy kopię obiektu MouseEvent i ustawia wartości poszczególnych właściwości zgodnie z właściwościami oryginału. | MouseEvent | |
![]() |
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 | |
![]() | [przesłanianie]
Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu MouseEvent. | MouseEvent | |
![]() |
Powoduje, że po zakończeniu przetwarzania tego zdarzenia program Flash Player lub środowisko wykonawcze Adobe AIR zrenderuje obraz, jeśli lista wyświetlania została zmodyfikowana. | MouseEvent | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
Stałe publiczne
| Stała | Zdefiniowane przez | ||
|---|---|---|---|
| DRAG_COMPLETE : String = "dragComplete" [statyczny]
Defines the value of the
type property of the event object for a dragComplete event. | AutomationDragEventWithPositionInfo | ||
| DRAG_DROP : String = "dragDrop" [statyczny]
Defines the value of the
type property of the event object for a dragDrop event. | AutomationDragEventWithPositionInfo | ||
| DRAG_START : String = "dragStart" [statyczny]
Defines the value of the
type property of the event object for a dragStart event. | AutomationDragEventWithPositionInfo | ||
Konstruktor Szczegół
AutomationDragEventWithPositionInfo | () | Konstruktor |
public function AutomationDragEventWithPositionInfo(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, localx:int = -1, localy:int = -1)| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Constructor. Normally called by the Flex control and not used in application code.
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 = true) — Specifies whether the behavior associated with the event can be prevented.
| |
action:String (default = null) — The specified drop action, such as DragManager.MOVE.
| |
ctrlKey:Boolean (default = false) — Indicates whether the Control key was pressed.
| |
altKey:Boolean (default = false) — Indicates whether the Alt key was pressed.
| |
shiftKey:Boolean (default = false) — Indicates whether the Shift key was pressed.
| |
localx:int (default = -1) — The horizontal coordinate at which the event occurred relative to the containing sprite.
| |
localy:int (default = -1) — The vertical coordinate at which the event occurred relative to the containing sprite.
|
Szczegół stałej
DRAG_COMPLETE | Stała |
public static const DRAG_COMPLETE:String = "dragComplete"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Defines the value of the
type property of the event object for a dragComplete event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | true |
ctrlKey | Indicates whether the Control key is down
(true) or not (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 currentTarget. |
draggedItem | The item being dragged. |
dropParent | The object that parents the item that was dropped. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The object that dispatched the event;
it is not always the object that listens for the event.
Use the currentTarget property to always access the
object that is listening for the event. |
DRAG_DROP | Stała |
public static const DRAG_DROP:String = "dragDrop"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Defines the value of the
type property of the event object for a dragDrop event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | true |
ctrlKey | Indicates whether the Control key is down
(true) or not (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 currentTarget. |
draggedItem | The item being dragged. |
dropParent | The object that parents the item that was dropped. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The object that dispatched the event;
it is not always the object that listens for the event.
Use the currentTarget property to always access the
object that is listening for the event. |
DRAG_START | Stała |
public static const DRAG_START:String = "dragStart"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Defines the value of the
type property of the event object for a dragStart event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
altKey | Indicates whether the Alt key is down
(true) or not (false). |
action | The action that caused the event:
DragManager.COPY, DragManager.LINK,
DragManager.MOVE, or DragManager.NONE. |
bubbles | false |
cancelable | true |
ctrlKey | Indicates whether the Control key is down
(true) or not (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 currentTarget. |
draggedItem | The item being dragged. |
dropParent | The object that parents the item that was dropped. |
shiftKey | Indicates whether the Shift key is down
(true) or not (false). |
target | The object that dispatched the event;
it is not always the object that listens for the event.
Use the currentTarget property to always access the
object that is listening for the event. |
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne