public static enum DataTransfer.DropEffect extends 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(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.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf, valueOf
$isInstance
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.