|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Eidogo.Mode>
org.wicketstuff.eidogo.Eidogo.Mode
public static enum Eidogo.Mode
Mode of the player.
| Enum Constant Summary | |
|---|---|
ADD_BLACK
Add black stone mode. |
|
ADD_WHITE
Add white stone mode. |
|
CIRCLE
Circle mode. |
|
LABEL
Label mode. |
|
NUMBER
Number mode. |
|
PLAY
Play mode. |
|
REGION
Region mode. |
|
SCORE
Score mode. |
|
SQUARE
Square mode. |
|
TRIANGLE
Triangle mode. |
|
| Method Summary | |
|---|---|
String |
toString()
Used to transform into JSon value. |
static Eidogo.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Eidogo.Mode[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Eidogo.Mode PLAY
public static final Eidogo.Mode ADD_BLACK
public static final Eidogo.Mode ADD_WHITE
public static final Eidogo.Mode REGION
public static final Eidogo.Mode TRIANGLE
public static final Eidogo.Mode SQUARE
public static final Eidogo.Mode CIRCLE
public static final Eidogo.Mode LABEL
public static final Eidogo.Mode NUMBER
public static final Eidogo.Mode SCORE
| Method Detail |
|---|
public static Eidogo.Mode[] values()
for (Eidogo.Mode c : Eidogo.Mode.values()) System.out.println(c);
public static Eidogo.Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Eidogo.Mode>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||