public enum BulletType extends java.lang.Enum<BulletType> implements JsonEnum
Enum Constant and Description |
---|
BUBBLE |
CUSTOM |
DIAMOND |
NONE |
ROUND |
SQUARE |
TRIANGLE_DOWN |
TRIANGLE_LEFT |
TRIANGLE_RIGHT |
TRIANGLE_UP |
X_ERROR |
Y_ERROR |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
java.lang.String |
toString() |
static BulletType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BulletType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BulletType NONE
public static final BulletType ROUND
public static final BulletType SQUARE
public static final BulletType TRIANGLE_UP
public static final BulletType TRIANGLE_DOWN
public static final BulletType TRIANGLE_LEFT
public static final BulletType TRIANGLE_RIGHT
public static final BulletType BUBBLE
public static final BulletType DIAMOND
public static final BulletType X_ERROR
public static final BulletType Y_ERROR
public static final BulletType CUSTOM
public static BulletType[] values()
for (BulletType c : BulletType.values()) System.out.println(c);
public static BulletType 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 getId()
public java.lang.String toString()
toString
in class java.lang.Enum<BulletType>