|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Mode>
javalib.worldimages.Mode
public enum Mode
The available Modes are FILLED (aka SOLID) and OUTLINED.
Enum Constant Summary | |
---|---|
FILLED
|
|
OUTLINED
|
Field Summary | |
---|---|
static Mode |
filled
A synonym for FILLED. |
static Mode |
outlined
A synonym for OUTLINED. |
static Mode |
solid
A synonym for FILLED. |
static Mode |
SOLID
A synonym for FILLED. |
Method Summary | |
---|---|
static Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static 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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Mode FILLED
public static final Mode OUTLINED
Field Detail |
---|
public static final Mode filled
public static final Mode outlined
public static final Mode solid
public static final Mode SOLID
Method Detail |
---|
public static 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 static Mode[] values()
for (Mode c : Mode.values()) System.out.println(c);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |