public enum DragStatus extends java.lang.Enum<DragStatus>
Enum Constant and Description |
---|
InvalidTarget
The Draggable is over a target container but it has indicated
that the current target or location is invalid.
|
NoTarget
The Draggable is currently not over any target.
|
ValidTarget
The draggable is over a target container that has indicated
that the target and location is valid for dropping the item.
|
Modifier and Type | Method and Description |
---|---|
static DragStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DragStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DragStatus NoTarget
public static final DragStatus InvalidTarget
public static final DragStatus ValidTarget
public static DragStatus[] values()
for (DragStatus c : DragStatus.values()) System.out.println(c);
public static DragStatus 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