Package net.sourceforge.plantuml.golem
Enum TileGeometry
- java.lang.Object
-
- java.lang.Enum<TileGeometry>
-
- net.sourceforge.plantuml.golem.TileGeometry
-
- All Implemented Interfaces:
Serializable
,Comparable<TileGeometry>
public enum TileGeometry extends Enum<TileGeometry>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TileGeometry
fromString(String s)
TileGeometry
opposite()
static TileGeometry
valueOf(String name)
Returns the enum constant of this type with the specified name.static TileGeometry[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORTH
public static final TileGeometry NORTH
-
SOUTH
public static final TileGeometry SOUTH
-
EAST
public static final TileGeometry EAST
-
WEST
public static final TileGeometry WEST
-
CENTER
public static final TileGeometry CENTER
-
-
Method Detail
-
values
public static TileGeometry[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TileGeometry c : TileGeometry.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TileGeometry valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
opposite
public TileGeometry opposite()
-
fromString
public static TileGeometry fromString(String s)
-
-