Pakket | mx.automation.events |
Klasse | public class AutomationDragEventWithPositionInfo |
Overerving | AutomationDragEventWithPositionInfo AutomationDragEvent MouseEvent Event Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Meer voorbeelden
Verwante API-elementen
Openbare eigenschappen
Openbare methoden
Methode | Gedefinieerd door | ||
---|---|---|---|
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 | ||
[overschrijven]
Maakt een kopie van het object MouseEvent en stelt de waarde van elke eigenschap in zodat deze overeenkomt met die van het origineel. | MouseEvent | ||
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 | ||
[overschrijven]
Retourneert een tekenreeks die alle eigenschappen van het object MouseEvent bevat. | MouseEvent | ||
Instrueert Flash Player of Adobe AIR te renderen nadat de verwerking van deze gebeurtenis is voltooid, als het weergaveoverzicht is gewijzigd. | MouseEvent | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Openbare constanten
Constante | Gedefinieerd door | ||
---|---|---|---|
DRAG_COMPLETE : String = "dragComplete" [statisch]
Defines the value of the
type property of the event object for a dragComplete event. | AutomationDragEventWithPositionInfo | ||
DRAG_DROP : String = "dragDrop" [statisch]
Defines the value of the
type property of the event object for a dragDrop event. | AutomationDragEventWithPositionInfo | ||
DRAG_START : String = "dragStart" [statisch]
Defines the value of the
type property of the event object for a dragStart event. | AutomationDragEventWithPositionInfo |
Constructordetails
AutomationDragEventWithPositionInfo | () | Constructor |
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)
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructor. Normally called by the Flex control and not used in application code.
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 = 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.
|
Constantedetails
DRAG_COMPLETE | Constante |
public static const DRAG_COMPLETE:String = "dragComplete"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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 | Constante |
public static const DRAG_DROP:String = "dragDrop"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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 | Constante |
public static const DRAG_START:String = "dragStart"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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. |
Wed Jun 13 2018, 11:42 AM Z