Package | flash.desktop |
Class | public class NativeDragOptions |
Inheritance | NativeDragOptions Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | 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 | ||
Returns the string representation of the specified object. | NativeDragOptions | ||
Returns the primitive value of the specified object. | Object |
allowCopy | property |
public var allowCopy:Boolean = true
Language Version: | ActionScript 3.0 |
Runtime Versions: | 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 Versions: | 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 Versions: | AIR 1.0 |
A drop target is allowed to move the dragged data.
toString | () | method |
public function toString():String
Runtime Versions: | AIR 1.0 |
Returns the string representation of the specified object.
Note: Methods of the Object class are dynamically created on Object's prototype. To redefine this method in a subclass of Object, do not use the override
keyword. For example, a subclass of Object implements function toString():String
instead of using an override of the base class.
String — A string representation of the object.
|
Fri Mar 19 2010, 02:45 AM -07:00