public static enum PatternView.DisplayMode extends java.lang.Enum<PatternView.DisplayMode>
| Enum Constant and Description |
|---|
Animate
Animate the pattern (for demo, and help).
|
Correct
The pattern drawn is correct (i.e draw it in a friendly color)
|
Wrong
The pattern is wrong (i.e draw a foreboding color)
|
| Modifier and Type | Method and Description |
|---|---|
static PatternView.DisplayMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatternView.DisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternView.DisplayMode Correct
public static final PatternView.DisplayMode Animate
public static final PatternView.DisplayMode Wrong
public static PatternView.DisplayMode[] values()
for (PatternView.DisplayMode c : PatternView.DisplayMode.values()) System.out.println(c);
public static PatternView.DisplayMode 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 namejava.lang.NullPointerException - if the argument is null