public enum DragDataAction extends java.lang.Enum<DragDataAction> implements ValueEnum
Enum Constant and Description |
---|
COPY
Copy the data leaving the original in our list.
|
MOVE
Remove the data from this list so it can be moved into the other list.
|
NONE
Don't do anything, resulting in the same data being in both lists.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static DragDataAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DragDataAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DragDataAction NONE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static final DragDataAction COPY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "copy".
public static final DragDataAction MOVE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "move".
public static DragDataAction[] values()
for (DragDataAction c : DragDataAction.values()) System.out.println(c);
public static DragDataAction 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