public static enum Puzzle.VisibilityType extends java.lang.Enum<Puzzle.VisibilityType>
Enum Constant and Description |
---|
editable |
hidden |
hidescores |
playable |
Modifier and Type | Method and Description |
---|---|
static Puzzle.VisibilityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Puzzle.VisibilityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Puzzle.VisibilityType editable
public static final Puzzle.VisibilityType playable
public static final Puzzle.VisibilityType hidden
public static final Puzzle.VisibilityType hidescores
public static Puzzle.VisibilityType[] values()
for (Puzzle.VisibilityType c : Puzzle.VisibilityType.values()) System.out.println(c);
public static Puzzle.VisibilityType 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