public enum Directional extends java.lang.Enum<Directional> implements GuiTitlable
Enum Constant and Description |
---|
BIDIRECTIONAL |
INBOUND |
OUTBOUND |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
getGuiTitle()
Строка - имя объекта.
|
java.lang.String |
getValue() |
static Directional |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Directional[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Directional INBOUND
public static final Directional OUTBOUND
public static final Directional BIDIRECTIONAL
public static Directional[] values()
for (Directional c : Directional.values()) System.out.println(c);
public static Directional 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 nullpublic java.lang.String getGuiTitle()
GuiTitlable
getGuiTitle
in interface GuiTitlable
public java.lang.String getValue()
public int getCode()