- java.lang.Object
-
- java.lang.Enum<ViewDirection>
-
- de.rpgframework.support.combat.jfx.ViewDirection
-
- All Implemented Interfaces:
Serializable,Comparable<ViewDirection>
public enum ViewDirection extends Enum<ViewDirection>
- Author:
- prelle
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ViewDirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static ViewDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EAST
public static final ViewDirection EAST
-
SOUTHEAST
public static final ViewDirection SOUTHEAST
-
SOUTH
public static final ViewDirection SOUTH
-
SOUTHWEST
public static final ViewDirection SOUTHWEST
-
WEST
public static final ViewDirection WEST
-
NORTHWEST
public static final ViewDirection NORTHWEST
-
NORTH
public static final ViewDirection NORTH
-
NORTHEAST
public static final ViewDirection NORTHEAST
-
NONE
public static final ViewDirection NONE
-
-
Method Detail
-
values
public static ViewDirection[] 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 (ViewDirection c : ViewDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViewDirection 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
-
-