Paket | mx.automation.events |
Klass | public class AutomationDragEvent |
Arv | AutomationDragEvent ![]() ![]() ![]() |
Underklasser | AutomationDragEventWithPositionInfo |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
action : String
The requested action. | AutomationDragEvent | ||
![]() | altKey : Boolean
Anger om Alt-tangenten är aktiv (true) eller inaktiv (false). | MouseEvent | |
![]() | bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | |
![]() | buttonDown : Boolean
Anger om den primära musknappen är nedtryckt (true) eller inte (false). | MouseEvent | |
![]() | cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | |
![]() | clickCount : int [skrivskyddad]
Anger om mus ned-händelsen är en del i sekvensen med flera klick. | MouseEvent | |
![]() | commandKey : Boolean
Anger om kommandotangenten är aktiverad (endast Macintosh.) Värdet på egenskapen commandKey kommer att ha samma värde som egenskapen ctrlKey i Macintosh. | MouseEvent | |
![]() | constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | |
![]() | controlKey : Boolean
Anger om Ctrl-tangenten är aktiv i Macintosh, Windows eller Linux. | MouseEvent | |
![]() | ctrlKey : Boolean
Anger om Ctrl-tangenten är aktiv (true) eller inaktiv (false) i Windows eller Linux. | MouseEvent | |
![]() | currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | |
![]() | delta : int
Anger hur många rader fönstret ska rullas för varje enhet användaren vrider mushjulet. | 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 | ||
![]() | eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | |
![]() | isRelatedObjectInaccessible : Boolean
Om true, är egenskapen relatedObject satt till null av orsaker som är relaterade till säkerhetssandlådor. | MouseEvent | |
![]() | localX : Number
Den vågräta koordinat som händelsen inträffade vid i förhållande till behållar-spriten, om låsning av musen är inaktiverat. | MouseEvent | |
![]() | localY : Number
Den lodräta koordinat som händelsen inträffade vid i förhållande till behållar-spriten, om låsning av musen är inaktiverat. | MouseEvent | |
![]() | movementX : Number
Förändringen av musens position i X-riktning sedan den senaste mushändelsen, om låsning av musen är aktiverat. | MouseEvent | |
![]() | movementY : Number
Förändringen av musens position i Y-riktning sedan den senaste mushändelsen, om låsning av musen är aktiverat. | MouseEvent | |
![]() | relatedObject : InteractiveObject
En referens till ett visningslisteobjekt som är relaterat till händelsen. | MouseEvent | |
![]() | shiftKey : Boolean
Anger om skifttangenten är aktiv (true) eller inaktiv (false). | MouseEvent | |
![]() | stageX : Number [skrivskyddad]
Den vågräta koordinat som händelsen inträffade vid i globala scenkoordinater. | MouseEvent | |
![]() | stageY : Number [skrivskyddad]
Den lodräta koordinat som händelsen inträffade vid i globala scenkoordinater. | MouseEvent | |
![]() | target : Object [skrivskyddad]
Händelsens mål. | Event | |
![]() | type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
AutomationDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor. | AutomationDragEvent | ||
![]() | [åsidosätt]
Skapar en kopia av MouseEvent-objektet och ställer in värdet för alla egenskaper så att de matchar originalets egenskaper. | MouseEvent | |
![]() |
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | |
![]() |
Anger om det finns en egenskap angiven för ett objekt. | Object | |
![]() |
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | |
![]() |
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | |
![]() |
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | |
![]() |
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | |
![]() |
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | |
![]() |
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | |
![]() |
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | |
![]() |
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | |
![]() | [åsidosätt]
Returnerar en sträng som innehåller alla egenskaper i MouseEvent-objektet. | MouseEvent | |
![]() |
Instruerar Flash Player eller Adobe AIR att göra en rendering när den här händelsen har behandlats, om visningslistan har ändrats. | MouseEvent | |
![]() |
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
DRAG_COMPLETE : String = "dragComplete" [statisk]
Defines the value of the
type property of the event object for a dragComplete event. | AutomationDragEvent | ||
DRAG_DROP : String = "dragDrop" [statisk]
Defines the value of the
type property of the event object for a dragDrop event. | AutomationDragEvent | ||
DRAG_START : String = "dragStart" [statisk]
Defines the value of the
type property of the event object for a dragStart event. | AutomationDragEvent |
action | egenskap |
public var action:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The requested action.
One of DragManager.COPY
, DragManager.LINK
,
DragManager.MOVE
, or DragManager.NONE
.
Relaterade API-element
draggedItem | egenskap |
public var draggedItem:IAutomationObject
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Contains the child IAutomationObject object that is being dragged.
dropParent | egenskap |
public var dropParent:IAutomationObject
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The IAutomationObject object that is the parent of the dropped item.
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)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor. Normally called by the Flex control and not used in application code.
Parametrartype: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.
|
DRAG_COMPLETE | Konstant |
public static const DRAG_COMPLETE:String = "dragComplete"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 listening for the event. |
DRAG_DROP | Konstant |
public static const DRAG_DROP:String = "dragDrop"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const DRAG_START:String = "dragStart"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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, 01:40 PM Z