Paket | mx.events |
Klass | public class SandboxMouseEvent |
Arv | SandboxMouseEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Egenskap | Definieras med | ||
---|---|---|---|
altKey : Boolean
Indicates whether the Alt key was pressed. | SandboxMouseEvent | ||
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
buttonDown : Boolean
Indicates whether the primary mouse button is pressed (true) or not (false). | SandboxMouseEvent | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
ctrlKey : Boolean
Indicates whether the Ctrl key was pressed. | SandboxMouseEvent | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
shiftKey : Boolean
Indicates whether the Shift key was pressed. | SandboxMouseEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
SandboxMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false)
Constructor. | SandboxMouseEvent | ||
Skapar ett duplikat av en instans av en Event-underklass. | Event | ||
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 | ||
[statisk]
Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current
ApplicationDomain. | SandboxMouseEvent | ||
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 | ||
Returnerar en sträng som innehåller alla egenskaper i Event-objektet. | Event | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
CLICK_SOMEWHERE : String = "clickSomewhere" [statisk]
Mouse was clicked somewhere outside your sandbox. | SandboxMouseEvent | ||
DOUBLE_CLICK_SOMEWHERE : String = "doubleClickSomewhere" [statisk]
Mouse was double-clicked somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_DOWN_SOMEWHERE : String = "mouseDownSomewhere" [statisk]
Mouse button was pressed down somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_MOVE_SOMEWHERE : String = "mouseMoveSomewhere" [statisk]
Mouse was moved somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_UP_SOMEWHERE : String = "mouseUpSomewhere" [statisk]
Mouse button was released somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_WHEEL_SOMEWHERE : String = "mouseWheelSomewhere" [statisk]
Mouse wheel was spun somewhere outside your sandbox. | SandboxMouseEvent |
altKey | egenskap |
public var altKey:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Indicates whether the Alt
key was pressed.
Relaterade API-element
buttonDown | egenskap |
public var buttonDown:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Indicates whether the primary mouse button is pressed (true) or not (false).
Relaterade API-element
ctrlKey | egenskap |
public var ctrlKey:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Indicates whether the Ctrl
key was pressed.
Relaterade API-element
shiftKey | egenskap |
public var shiftKey:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Indicates whether the Shift
key was pressed.
Relaterade API-element
SandboxMouseEvent | () | Konstruktor |
public function SandboxMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
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 = false ) — Specifies whether the behavior associated with the event can be prevented.
| |
ctrlKey:Boolean (default = false ) — Indicates whether the Ctrl 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.
| |
buttonDown:Boolean (default = false ) — Indicates whether the primary mouse button is pressed (true) or not (false).
|
marshal | () | metod |
public static function marshal(event:Event):SandboxMouseEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current ApplicationDomain.
Parametrar
event:Event — A SWFBridgeRequest that might have been created in a different ApplicationDomain.
|
SandboxMouseEvent — A SandboxMouseEvent created in the caller's ApplicationDomain.
|
CLICK_SOMEWHERE | Konstant |
public static const CLICK_SOMEWHERE:String = "clickSomewhere"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Mouse was clicked somewhere outside your sandbox.
DOUBLE_CLICK_SOMEWHERE | Konstant |
public static const DOUBLE_CLICK_SOMEWHERE:String = "doubleClickSomewhere"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Mouse was double-clicked somewhere outside your sandbox.
MOUSE_DOWN_SOMEWHERE | Konstant |
public static const MOUSE_DOWN_SOMEWHERE:String = "mouseDownSomewhere"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Mouse button was pressed down somewhere outside your sandbox.
MOUSE_MOVE_SOMEWHERE | Konstant |
public static const MOUSE_MOVE_SOMEWHERE:String = "mouseMoveSomewhere"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Mouse was moved somewhere outside your sandbox.
MOUSE_UP_SOMEWHERE | Konstant |
public static const MOUSE_UP_SOMEWHERE:String = "mouseUpSomewhere"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Mouse button was released somewhere outside your sandbox.
MOUSE_WHEEL_SOMEWHERE | Konstant |
public static const MOUSE_WHEEL_SOMEWHERE:String = "mouseWheelSomewhere"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Mouse wheel was spun somewhere outside your sandbox.
Tue Jun 12 2018, 01:40 PM Z