public enum ParticleType extends java.lang.Enum<ParticleType>
Enum Constant and Description |
---|
DISC |
LEFTLINE |
RECTANGLE |
RECTANGLE_OUTLINE |
RIGHTLINE |
SHIMMER |
SPRITE |
TEXT |
Modifier and Type | Method and Description |
---|---|
static ParticleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParticleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleType RECTANGLE
public static final ParticleType LEFTLINE
public static final ParticleType DISC
public static final ParticleType RECTANGLE_OUTLINE
public static final ParticleType RIGHTLINE
public static final ParticleType SHIMMER
public static final ParticleType TEXT
public static final ParticleType SPRITE
public static ParticleType[] values()
for (ParticleType c : ParticleType.values()) System.out.println(c);
public static ParticleType 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 null