|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Gesture.Direction>
uk.co.keang.swingaddons.Gesture.Direction
public static enum Gesture.Direction
Enum Constant Summary | |
---|---|
BOTTOM_LEFT_TO_TOP_RIGHT
|
|
BOTTOM_RIGHT_TO_TOP_LEFT
|
|
DOWN
|
|
LEFT
|
|
RIGHT
|
|
TOP_LEFT_TO_BOTTOM_RIGHT
|
|
TOP_RIGHT_TO_BOTTOM_LEFT
|
|
UP
|
Method Summary | |
---|---|
static Gesture.Direction |
getGesture(java.lang.String symbol)
Gets the GESTURE associated with this arrow symbol |
java.lang.String |
getSymbol()
Get the arrow symbol associated with this gesture |
static boolean |
hasGesture(java.lang.String symbol)
Tests to see if there is a GESTURE associated with this arrow symbol |
static Gesture.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Gesture.Direction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Gesture.Direction UP
public static final Gesture.Direction DOWN
public static final Gesture.Direction LEFT
public static final Gesture.Direction RIGHT
public static final Gesture.Direction TOP_LEFT_TO_BOTTOM_RIGHT
public static final Gesture.Direction TOP_RIGHT_TO_BOTTOM_LEFT
public static final Gesture.Direction BOTTOM_LEFT_TO_TOP_RIGHT
public static final Gesture.Direction BOTTOM_RIGHT_TO_TOP_LEFT
Method Detail |
---|
public static Gesture.Direction[] values()
for (Gesture.Direction c : Gesture.Direction.values()) System.out.println(c);
public static Gesture.Direction 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getSymbol()
public static Gesture.Direction getGesture(java.lang.String symbol)
symbol
- the symbol to search for
java.lang.IllegalArgumentException
- if there is no GESTURE for this symbolpublic static boolean hasGesture(java.lang.String symbol)
symbol
- the symbol to search for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |