| Pacote | flash.desktop |
| Classe | public class NativeDragOptions |
| Herança | NativeDragOptions Object |
Drag actions are part of a feedback mechanism to allow the initiating and target objects to cooperate in the drag-and-drop exchange.
An initiating object should allow the actions that it supports. For exemplo, an initiating object should only allow the move action if that object's internal logic will remove the source data when a target accepts a drop with a move action.
Likewise, a target object should only accept a drop that allows relevant actions. For exemplo, a target object that implements "trash can" functionality should not accept a drop that does not allow the move action.
A new NativeDragOptions object will have all properties initialized to
true (all actions allowed).
Veja também
| Propriedade | Definido por | ||
|---|---|---|---|
| allowCopy : Boolean = true
A drop target is allowed to copy the dragged data.
| NativeDragOptions | ||
| allowLink : Boolean = true
A drop target is allowed to create a link to the dragged data.
| NativeDragOptions | ||
| allowMove : Boolean = true
A drop target is allowed to move the dragged data.
| NativeDragOptions | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| Método | Definido por | ||
|---|---|---|---|
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
| NativeDragOptions | |||
![]() |
Returns the primitive value of the specified object.
| Object | |
| allowCopy | propriedade |
public var allowCopy:Boolean = true
A drop target is allowed to copy the dragged data.
| allowLink | propriedade |
public var allowLink:Boolean = true
A drop target is allowed to create a link to the dragged data.
| allowMove | propriedade |
public var allowMove:Boolean = true
A drop target is allowed to move the dragged data.
| toString | () | método |