public enum DragAndDropAction extends java.lang.Enum<DragAndDropAction>
| Enum Constant and Description |
|---|
Copy
Copy the item to the target.
|
Ignore
Do nothing.
|
Link
Link the item from within the target.
|
Move
Move the item to the target.
|
| Modifier and Type | Method and Description |
|---|---|
static DragAndDropAction |
fromValue(long v) |
static DragAndDropAction |
fromValue(java.lang.String v) |
int |
value() |
static DragAndDropAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DragAndDropAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DragAndDropAction Ignore
public static final DragAndDropAction Copy
public static final DragAndDropAction Move
public static final DragAndDropAction Link
public static DragAndDropAction[] values()
for (DragAndDropAction c : DragAndDropAction.values()) System.out.println(c);
public static DragAndDropAction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static DragAndDropAction fromValue(long v)
public static DragAndDropAction fromValue(java.lang.String v)