public enum SwipeElementDirection extends Enum<SwipeElementDirection>
Enum Constant and Description |
---|
DOWN
Down from the center of the upper
|
LEFT
To the left from the center of the rightmost
|
RIGHT
To the right from the center of the leftmost
|
UP
Up from the center of the lower
|
Modifier and Type | Method and Description |
---|---|
static SwipeElementDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwipeElementDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwipeElementDirection UP
public static final SwipeElementDirection DOWN
public static final SwipeElementDirection LEFT
public static final SwipeElementDirection RIGHT
public static SwipeElementDirection[] values()
for (SwipeElementDirection c : SwipeElementDirection.values()) System.out.println(c);
public static SwipeElementDirection 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 © 2016. All rights reserved.