gcspy.vis
Enum TileManager.Tile
java.lang.Object
java.lang.Enum<TileManager.Tile>
gcspy.vis.TileManager.Tile
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TileManager.Tile>
- Enclosing class:
- TileManager
public static enum TileManager.Tile
- extends java.lang.Enum<TileManager.Tile>
Tile types
Method Summary |
static TileManager.Tile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TileManager.Tile[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
FULL
public static final TileManager.Tile FULL
SOLID
public static final TileManager.Tile SOLID
FOOTER
public static final TileManager.Tile FOOTER
TOP
public static final TileManager.Tile TOP
BOTTOM
public static final TileManager.Tile BOTTOM
TOP_LEFT
public static final TileManager.Tile TOP_LEFT
BOTTOM_RIGHT
public static final TileManager.Tile BOTTOM_RIGHT
ZERO
public static final TileManager.Tile ZERO
OVERFLOW
public static final TileManager.Tile OVERFLOW
MORE_TILES
public static final TileManager.Tile MORE_TILES
values
public static final TileManager.Tile[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TileManager.Tile c : TileManager.Tile.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TileManager.Tile valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name