public final class UIDropOperation
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
Cancel
The drag will be cancelled.
|
static long |
Copy
The data represented by the drag item(s) will be copied.
|
static long |
Forbidden
The drag will be cancelled.
|
static long |
Move
The data represented by the drag item(s) will be moved.
|
public static final long Cancel
public static final long Forbidden
public static final long Copy
public static final long Move
You may use this only if UIDropSession's allowsMoveOperation is true. Otherwise it will be treated as UIDropOperationCancel.
Note that the system does not give any special meaning to this operation. The delegates of both the UIDragInteraction and UIDropInteraction must cooperate to produce the correct result. For instance, the UIDropInteraction's delegate might insert the data in the new location, and the UIDragInteraction's delegate might remove the data from the old location.