Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.automation.events 

AutomationDragEvent  - AS3 Flex

Paquetemx.automation.events
Clasepublic class AutomationDragEvent
HerenciaAutomationDragEvent Inheritance MouseEvent Inheritance Event Inheritance Object
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

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

Más ejemplos

Elementos de API relacionados



Propiedades públicas
 PropiedadDefinido por
  action : String
The requested action.
AutomationDragEvent
 InheritedaltKey : Boolean
Indica si la tecla Alt está activa (true) o inactiva (false).
MouseEvent
 Inheritedbubbles : Boolean
[solo lectura] Indica si un evento es un evento de propagación.
Event
 InheritedbuttonDown : Boolean
Indica si se pulsa el botón principal del ratón (true) o no (false).
MouseEvent
 Inheritedcancelable : Boolean
[solo lectura] Indica si se puede evitar el comportamiento asociado al evento.
Event
 InheritedclickCount : int
[solo lectura] Indica si el evento MouseDown forma parte o no de una secuencia de varios clics.
MouseEvent
 InheritedcommandKey : 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
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
 InheritedcontrolKey : Boolean
Indica si la tecla Control está activada en Mac y si la tecla Ctrl está activada en Windows o Linux.
MouseEvent
 InheritedctrlKey : Boolean
En Windows o Linux, indica si la tecla Ctrl está activa (true) o inactiva (false).
MouseEvent
 InheritedcurrentTarget : Object
[solo lectura] Objeto que procesa de forma activa el objeto de evento con un detector de eventos.
Event
 Inheriteddelta : 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
 InheritedeventPhase : uint
[solo lectura] La fase actual en el flujo del evento.
Event
 InheritedisRelatedObjectInaccessible : Boolean
Si es true, la propiedad relatedObject se establece como null por motivos relacionados con entornos limitados de seguridad.
MouseEvent
 InheritedlocalX : 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
 InheritedlocalY : 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
 InheritedmovementX : 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
 InheritedmovementY : 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
 InheritedrelatedObject : InteractiveObject
Referencia a un objeto de la lista de visualización relacionado con el evento.
MouseEvent
 InheritedshiftKey : Boolean
Indica si la tecla Mayús está activa (true) o inactiva (false).
MouseEvent
 InheritedstageX : Number
[solo lectura] La coordenada horizontal en la que se produce el evento en las coordenadas globales del escenario.
MouseEvent
 InheritedstageY : Number
[solo lectura] La coordenada vertical en la que se produce el evento en las coordenadas globales del escenario.
MouseEvent
 Inheritedtarget : Object
[solo lectura] El destino del evento.
Event
 Inheritedtype : String
[solo lectura] El tipo de evento.
Event
Métodos públicos
 MétodoDefinido por
  
AutomationDragEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, action:String = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false)
Constructor.
AutomationDragEvent
 Inherited
[override] Crea una copia del objeto MouseEvent y define el valor de cada propiedad para que coincida con el del objeto original.
MouseEvent
 Inherited
formatToString(className:String, ... arguments):String
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0.
Event
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Comprueba si se ha llamado a preventDefault() en el evento.
Event
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo.
Event
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento.
Event
 Inherited
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual.
Event
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
[override] Devuelve una cadena con todas las propiedades del objeto MouseEvent.
MouseEvent
 Inherited
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
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Constantes públicas
 ConstanteDefinido 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
Información sobre propiedades

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.

Información sobre constructores

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ámetros
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.
Información sobre constantes

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:

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

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:

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

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:

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 ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.