|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ImageTransition.Direction>
cz.cuni.jagrlib.piece.ImageTransition.Direction
public static enum ImageTransition.Direction
Eight main directions for ramps, ..
Enum Constant Summary | |
---|---|
DIR_E
East = [ 1, 0 ] . |
|
DIR_N
North = [ 0, -1 ] . |
|
DIR_NE
North-east = [ 1, -1 ] . |
|
DIR_NONE
None = [ 0, 0 ] . |
|
DIR_NW
North-west = [ -1, -1 ] . |
|
DIR_S
South = [ 0, 1 ] . |
|
DIR_SE
South-east = [ 1, 1 ] . |
|
DIR_SW
South-west = [ -1, 1 ] . |
|
DIR_W
West = [ -1, 0 ] . |
Method Summary | |
---|---|
static ImageTransition.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ImageTransition.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 |
---|
clone, compareTo, equals, finalize, 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 ImageTransition.Direction DIR_NONE
[ 0, 0 ]
.
public static final ImageTransition.Direction DIR_E
[ 1, 0 ]
.
public static final ImageTransition.Direction DIR_NE
[ 1, -1 ]
.
public static final ImageTransition.Direction DIR_N
[ 0, -1 ]
.
public static final ImageTransition.Direction DIR_NW
[ -1, -1 ]
.
public static final ImageTransition.Direction DIR_W
[ -1, 0 ]
.
public static final ImageTransition.Direction DIR_SW
[ -1, 1 ]
.
public static final ImageTransition.Direction DIR_S
[ 0, 1 ]
.
public static final ImageTransition.Direction DIR_SE
[ 1, 1 ]
.
Method Detail |
---|
public static ImageTransition.Direction[] values()
for (ImageTransition.Direction c : ImageTransition.Direction.values()) System.out.println(c);
public static ImageTransition.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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |