ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.automation.events 

AutomationDragEvent  - AS3 Flex

Pakietmx.automation.events
Klasapublic class AutomationDragEvent
DziedziczenieAutomationDragEvent Inheritance MouseEvent Inheritance Event Inheritance Object
Podklasy AutomationDragEventWithPositionInfo

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The AutomationDragEvent class represents event objects that are dispatched as part of a drag-and-drop operation.

Powiązane elementy interfejsu API



Właściwości publiczne
 WłaściwośćZdefiniowane przez
  action : String
The requested action.
AutomationDragEvent
 InheritedaltKey : Boolean
Określa, czy klawisz Alt jest aktywny (true), czy nieaktywny (false).
MouseEvent
 Inheritedbubbles : Boolean
[tylko do odczytu] Określa, czy zdarzenie może przechodzić fazę propagacji.
Event
 InheritedbuttonDown : Boolean
Określa, czy główny przycisk myszy jest naciśnięty (true), czy nie (false).
MouseEvent
 Inheritedcancelable : Boolean
[tylko do odczytu] Wskazuje, czy można uniemożliwić operacje skojarzone ze zdarzeniem.
Event
 InheritedclickCount : int
[tylko do odczytu] Określa, czy dane naciśnięcie przycisku myszy należy do sekwencji wielu kliknięć.
MouseEvent
 InheritedcommandKey : Boolean
Określa, czy klawisz Command jest aktywny (tylko w systemach Mac). W systemach Mac właściwość commandKey będzie miała tę samą wartość, co właściwość ctrlKey.
MouseEvent
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
 InheritedcontrolKey : Boolean
Określa, czy klawisz Control jest aktywny w systemie Mac lub czy klawisz Ctrl jest aktywny w systemie Windows lub Linux.
MouseEvent
 InheritedctrlKey : Boolean
W systemach Windows lub Linux określa, czy klawisz Ctrl jest aktywny (true), czy nieaktywny (false).
MouseEvent
 InheritedcurrentTarget : Object
[tylko do odczytu] Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń.
Event
 Inheriteddelta : int
Określa liczbę wierszy przewijanych w odpowiedzi na elementarny ruch pokrętłem myszy.
MouseEvent
  draggedItem : IAutomationObject
Contains the child IAutomationObject object that is being dragged.
AutomationDragEvent
  dropParent : IAutomationObject
The IAutomationObject object that is the parent of the dropped item.
AutomationDragEvent
 InheritedeventPhase : uint
[tylko do odczytu] Bieżąca faza przepływu zdarzeń.
Event
 InheritedisRelatedObjectInaccessible : Boolean
Jeśli wartość to true, właściwość relatedObject zostanie ustawiona na wartość null z przyczyn związanych z bezpiecznymi obszarami izolowanymi.
MouseEvent
 InheritedlocalX : Number
Współrzędna pozioma miejsca wystąpienia zdarzenia (określana względem ikonki), gdy jest wyłączone blokowanie myszy.
MouseEvent
 InheritedlocalY : Number
Współrzędna pionowa miejsca wystąpienia zdarzenia (określana względem ikonki), gdy jest wyłączone blokowanie myszy.
MouseEvent
 InheritedmovementX : Number
Zmiana pozycji myszy w kierunku X od ostatniego zdarzenia myszy, gdy jest włączone blokowanie myszy.
MouseEvent
 InheritedmovementY : Number
Zmiana pozycji myszy w kierunku Y od ostatniego zdarzenia myszy, gdy jest włączone blokowanie myszy.
MouseEvent
 InheritedrelatedObject : InteractiveObject
Odwołanie do listy powiązanej ze zdarzeniem.
MouseEvent
 InheritedshiftKey : Boolean
Określa, czy klawisz Shift jest aktywny (true), czy nieaktywny (false).
MouseEvent
 InheritedstageX : Number
[tylko do odczytu] Współrzędna pozioma miejsca wystąpienia zdarzenia (w globalnym układzie współrzędnych stołu montażowego).
MouseEvent
 InheritedstageY : Number
[tylko do odczytu] Współrzędna pionowa miejsca wystąpienia zdarzenia (w globalnym układzie współrzędnych stołu montażowego).
MouseEvent
 Inheritedtarget : Object
[tylko do odczytu] Miejsce docelowe zdarzenia.
Event
 Inheritedtype : String
[tylko do odczytu] Typ zdarzenia.
Event
Metody publiczne
 MetodaZdefiniowane przez
  
AutomationDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor.
AutomationDragEvent
 Inherited
[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
 Inherited
formatToString(className:String, ... arguments):String
Funkcja narzędziowa umożliwiająca implementację metody toString() w niestandardowych klasach Event w języku ActionScript 3.0.
Event
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
 Inherited
Sprawdza, czy w odniesieniu do tego zdarzenia wywołano metodę preventDefault().
Event
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Anuluje domyślne ustawienia zdarzenia, o ile zachowanie to może być anulowane.
Event
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węźle bieżącym i węzłach następujących po nim.
Event
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węzłach następujących po węźle bieżącym w przepływie zdarzeń.
Event
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
[przesłanianie] Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu MouseEvent.
MouseEvent
 Inherited
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
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Stałe publiczne
 StałaZdefiniowane przez
  DRAG_COMPLETE : String = "dragComplete"
[statyczny] Defines the value of the type property of the event object for a dragComplete event.
AutomationDragEvent
  DRAG_DROP : String = "dragDrop"
[statyczny] Defines the value of the type property of the event object for a dragDrop event.
AutomationDragEvent
  DRAG_START : String = "dragStart"
[statyczny] Defines the value of the type property of the event object for a dragStart event.
AutomationDragEvent
Szczegół właściwości

action

właściwość
public var action:String

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The requested action. One of DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.

Powiązane elementy interfejsu API

draggedItem

właściwość 
public var draggedItem:IAutomationObject

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Contains the child IAutomationObject object that is being dragged.

dropParent

właściwość 
public var dropParent:IAutomationObject

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The IAutomationObject object that is the parent of the dropped item.

Konstruktor Szczegół

AutomationDragEvent

()Konstruktor
public function AutomationDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)

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.

Parametry
type: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.
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:

PropertyValue
altKeyIndicates whether the Alt key is down (true) or not (false).
actionThe action that caused the event: DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.
bubblesfalse
cancelabletrue
ctrlKeyIndicates whether the Control key is down (true) or not (false).
currentTargetThe 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.
draggedItemThe item being dragged.
dropParentThe object that parents the item that was dropped.
shiftKeyIndicates whether the Shift key is down (true) or not (false).
targetThe 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 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:

PropertyValue
altKeyIndicates whether the Alt key is down (true) or not (false).
actionThe action that caused the event: DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.
bubblesfalse
cancelabletrue
ctrlKeyIndicates whether the Control key is down (true) or not (false).
currentTargetThe 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.
draggedItemThe item being dragged.
dropParentThe object that parents the item that was dropped.
shiftKeyIndicates whether the Shift key is down (true) or not (false).
targetThe 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:

PropertyValue
altKeyIndicates whether the Alt key is down (true) or not (false).
actionThe action that caused the event: DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.
bubblesfalse
cancelabletrue
ctrlKeyIndicates whether the Control key is down (true) or not (false).
currentTargetThe 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.
draggedItemThe item being dragged.
dropParentThe object that parents the item that was dropped.
shiftKeyIndicates whether the Shift key is down (true) or not (false).
targetThe 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.





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.