|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Horse.Style> org.bukkit.entity.Horse.Style
public static enum Horse.Style
Represents the style, or markings, that the horse has.
Enum Constant Summary | |
---|---|
BLACK_DOTS
Small black dots |
|
NONE
No markings |
|
WHITE
White socks or stripes |
|
WHITE_DOTS
Round white dots |
|
WHITEFIELD
Milky splotches |
Method Summary | |
---|---|
static Horse.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Horse.Style[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Horse.Style NONE
public static final Horse.Style WHITE
public static final Horse.Style WHITEFIELD
public static final Horse.Style WHITE_DOTS
public static final Horse.Style BLACK_DOTS
Method Detail |
---|
public static Horse.Style[] values()
for (Horse.Style c : Horse.Style.values()) System.out.println(c);
public static Horse.Style valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |