Package | flash.desktop |
Class | public class NativeDragOptions |
Inheritance | NativeDragOptions Object |
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.0 |
Drag actions are part of a feedback mechanism to allow the initiating and target objects to cooperate in the drag-and-drop exchange. The actions are only a hint to the operating system. It is up to the drag initiator and target objects involved in the transaction to implement the proper behavior.
An initiating object should only allow the actions that it supports. For example, an initiating object should allow the move action only if that object's internal logic removes the source data when a target accepts a drop with a move action.
A new NativeDragOptions object has all properties initialized to
true
(all actions allowed).
See also
Property | Defined by | ||
---|---|---|---|
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 |
Method | Defined by | ||
---|---|---|---|
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 | ||
Returns the string representation of this object, formatted according to locale-specific conventions.
| Object | ||
Constructs a string containing the current settings of this NativeDragOptions object.
| NativeDragOptions | ||
Returns the primitive value of the specified object.
| Object |
allowCopy | property |
public var allowCopy:Boolean = true
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.0 |
A drop target is allowed to copy the dragged data.
allowLink | property |
public var allowLink:Boolean = true
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.0 |
A drop target is allowed to create a link to the dragged data.
allowMove | property |
public var allowMove:Boolean = true
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.0 |
A drop target is allowed to move the dragged data.
toString | () | method |
public function toString():String
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.0 |
Constructs a string containing the current settings of this NativeDragOptions object.
ReturnsString —
String The current settings of this object in a string.
|