public static enum DataTransfer.DropEffect extends java.lang.Enum<DataTransfer.DropEffect>
Enum Constant and Description |
---|
COPY
a copy of the source item is made at the new location.
|
LINK
a link is established to the source at the new location.
|
MOVE
an item is moved to a new location.
|
NONE
the item may not be dropped.
|
Modifier and Type | Method and Description |
---|---|
static DataTransfer.DropEffect |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataTransfer.DropEffect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTransfer.DropEffect COPY
public static final DataTransfer.DropEffect MOVE
public static final DataTransfer.DropEffect LINK
public static final DataTransfer.DropEffect NONE
public static DataTransfer.DropEffect[] values()
for (DataTransfer.DropEffect c : DataTransfer.DropEffect.values()) System.out.println(c);
public static DataTransfer.DropEffect 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 null