Paquete | mx.automation.events |
Clase | public class AutomationDragEvent |
Herencia | AutomationDragEvent ![]() ![]() ![]() |
Subclases | AutomationDragEventWithPositionInfo |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Más ejemplos
Elementos de API relacionados
Propiedad | Definido por | ||
---|---|---|---|
action : String
The requested action. | AutomationDragEvent | ||
![]() | altKey : Boolean
Indica si la tecla Alt está activa (true) o inactiva (false). | MouseEvent | |
![]() | bubbles : Boolean [solo lectura]
Indica si un evento es un evento de propagación. | Event | |
![]() | buttonDown : Boolean
Indica si se pulsa el botón principal del ratón (true) o no (false). | MouseEvent | |
![]() | cancelable : Boolean [solo lectura]
Indica si se puede evitar el comportamiento asociado al evento. | Event | |
![]() | clickCount : int [solo lectura]
Indica si el evento MouseDown forma parte o no de una secuencia de varios clics. | MouseEvent | |
![]() | commandKey : Boolean
Indica si la tecla Comando está activada (sólo en Mac). El valor de la propiedad commandKey tiene el mismo valor que la propiedad ctrlKey en Mac. | MouseEvent | |
![]() | constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | |
![]() | controlKey : Boolean
Indica si la tecla Control está activada en Mac y si la tecla Ctrl está activada en Windows o Linux. | MouseEvent | |
![]() | ctrlKey : Boolean
En Windows o Linux, indica si la tecla Ctrl está activa (true) o inactiva (false). | MouseEvent | |
![]() | currentTarget : Object [solo lectura]
Objeto que procesa de forma activa el objeto de evento con un detector de eventos. | Event | |
![]() | delta : int
Indica el número de líneas que debe desplazarse la visualización por cada vuelta de la rueda del ratón. | 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 [solo lectura]
La fase actual en el flujo del evento. | Event | |
![]() | isRelatedObjectInaccessible : Boolean
Si es true, la propiedad relatedObject se establece como null por motivos relacionados con entornos limitados de seguridad. | MouseEvent | |
![]() | localX : Number
Cuando el bloqueo del ratón está desactivado, la coordenada horizontal en la que se produce el evento relativo a la clase Sprite contenida. | MouseEvent | |
![]() | localY : Number
Cuando el bloqueo del ratón está desactivado, la coordenada vertical en la que se produce el evento relativo a la clase Sprite contenida. | MouseEvent | |
![]() | movementX : Number
Cuando el bloqueo del ratón está activado, el cambio en la posición del ratón en la dirección X desde el último evento de ratón. | MouseEvent | |
![]() | movementY : Number
Cuando el bloqueo del ratón está activado, el cambio en la posición del ratón en la dirección Y desde el último evento de ratón. | MouseEvent | |
![]() | relatedObject : InteractiveObject
Referencia a un objeto de la lista de visualización relacionado con el evento. | MouseEvent | |
![]() | shiftKey : Boolean
Indica si la tecla Mayús está activa (true) o inactiva (false). | MouseEvent | |
![]() | stageX : Number [solo lectura]
La coordenada horizontal en la que se produce el evento en las coordenadas globales del escenario. | MouseEvent | |
![]() | stageY : Number [solo lectura]
La coordenada vertical en la que se produce el evento en las coordenadas globales del escenario. | MouseEvent | |
![]() | target : Object [solo lectura]
El destino del evento. | Event | |
![]() | type : String [solo lectura]
El tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
AutomationDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor. | AutomationDragEvent | ||
![]() | [override]
Crea una copia del objeto MouseEvent y define el valor de cada propiedad para que coincida con el del objeto original. | MouseEvent | |
![]() |
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0. | Event | |
![]() |
Indica si un objeto tiene definida una propiedad especificada. | Object | |
![]() |
Comprueba si se ha llamado a preventDefault() en el evento. | Event | |
![]() |
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | |
![]() |
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo. | Event | |
![]() |
Indica si existe la propiedad especificada y si es enumerable. | Object | |
![]() |
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | |
![]() |
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento. | Event | |
![]() |
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual. | Event | |
![]() |
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | |
![]() | [override]
Devuelve una cadena con todas las propiedades del objeto MouseEvent. | MouseEvent | |
![]() |
Si se ha modificado la lista de visualización, da instrucciones a Flash Player o a Adobe AIR para que muestre la representación tras finalizar el procesamiento del evento. | MouseEvent | |
![]() |
Devuelve el valor simple del objeto especificado. | Object |
Constante | Definido por | ||
---|---|---|---|
DRAG_COMPLETE : String = "dragComplete" [estática]
Defines the value of the
type property of the event object for a dragComplete event. | AutomationDragEvent | ||
DRAG_DROP : String = "dragDrop" [estática]
Defines the value of the
type property of the event object for a dragDrop event. | AutomationDragEvent | ||
DRAG_START : String = "dragStart" [estática]
Defines the value of the
type property of the event object for a dragStart event. | AutomationDragEvent |
action | propiedad |
public var action:String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The requested action.
One of DragManager.COPY
, DragManager.LINK
,
DragManager.MOVE
, or DragManager.NONE
.
Elementos de API relacionados
draggedItem | propiedad |
public var draggedItem:IAutomationObject
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Contains the child IAutomationObject object that is being dragged.
dropParent | propiedad |
public var dropParent:IAutomationObject
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The IAutomationObject object that is the parent of the dropped item.
AutomationDragEvent | () | Información sobre |
public function AutomationDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Constructor. Normally called by the Flex control and not used in application code.
Parámetrostype: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 | Constante |
public static const DRAG_COMPLETE:String = "dragComplete"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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 | Constante |
public static const DRAG_DROP:String = "dragDrop"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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, 02:12 PM Z