public enum DragDirection extends Enum<DragDirection>
| Modifier and Type | Method and Description |
|---|---|
static DragDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DragDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DragDirection up
public static final DragDirection down
public static final DragDirection left
public static final DragDirection right
public static DragDirection[] values()
for (DragDirection c : DragDirection.values()) System.out.println(c);
public static DragDirection 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 © 2014 se.solovyev. All Rights Reserved.