Package org.bukkit.block.data.type
Enum Jigsaw.Orientation
- java.lang.Object
-
- java.lang.Enum<Jigsaw.Orientation>
-
- org.bukkit.block.data.type.Jigsaw.Orientation
-
- All Implemented Interfaces:
Serializable
,Comparable<Jigsaw.Orientation>
- Enclosing interface:
- Jigsaw
public static enum Jigsaw.Orientation extends Enum<Jigsaw.Orientation>
The directions the Jigsaw can be oriented.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Jigsaw.Orientation
valueOf(String name)
Returns the enum constant of this type with the specified name.static Jigsaw.Orientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOWN_EAST
public static final Jigsaw.Orientation DOWN_EAST
-
DOWN_NORTH
public static final Jigsaw.Orientation DOWN_NORTH
-
DOWN_SOUTH
public static final Jigsaw.Orientation DOWN_SOUTH
-
DOWN_WEST
public static final Jigsaw.Orientation DOWN_WEST
-
UP_EAST
public static final Jigsaw.Orientation UP_EAST
-
UP_NORTH
public static final Jigsaw.Orientation UP_NORTH
-
UP_SOUTH
public static final Jigsaw.Orientation UP_SOUTH
-
UP_WEST
public static final Jigsaw.Orientation UP_WEST
-
WEST_UP
public static final Jigsaw.Orientation WEST_UP
-
EAST_UP
public static final Jigsaw.Orientation EAST_UP
-
NORTH_UP
public static final Jigsaw.Orientation NORTH_UP
-
SOUTH_UP
public static final Jigsaw.Orientation SOUTH_UP
-
-
Method Detail
-
values
public static Jigsaw.Orientation[] 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 (Jigsaw.Orientation c : Jigsaw.Orientation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Jigsaw.Orientation 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
-
-