public static enum SoundEntry.Type extends java.lang.Enum<SoundEntry.Type>
SoundEntry| Enum Constant and Description |
|---|
EVENT
Causes the value of
SoundEntry.name() to be
interpreted as the name of an already defined
sound event |
FILE
Causes the value of
SoundEntry.name() to be
interpreted as the name of a file |
| Modifier and Type | Method and Description |
|---|---|
static SoundEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoundEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundEntry.Type FILE
SoundEntry.name() to be
interpreted as the name of a filepublic static final SoundEntry.Type EVENT
SoundEntry.name() to be
interpreted as the name of an already defined
sound eventpublic static SoundEntry.Type[] values()
for (SoundEntry.Type c : SoundEntry.Type.values()) System.out.println(c);
public static SoundEntry.Type 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