public static enum NoteBlockEvent.Note extends java.lang.Enum<NoteBlockEvent.Note>
Enum Constant and Description |
---|
A |
A_SHARP |
B |
C |
C_SHARP |
D |
D_SHARP |
E |
F |
F_SHARP |
G |
G_SHARP |
Modifier and Type | Field and Description |
---|---|
private static NoteBlockEvent.Note[] |
values |
Modifier and Type | Method and Description |
---|---|
(package private) static NoteBlockEvent.Note |
fromId(int id) |
static NoteBlockEvent.Note |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NoteBlockEvent.Note[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoteBlockEvent.Note F_SHARP
public static final NoteBlockEvent.Note G
public static final NoteBlockEvent.Note G_SHARP
public static final NoteBlockEvent.Note A
public static final NoteBlockEvent.Note A_SHARP
public static final NoteBlockEvent.Note B
public static final NoteBlockEvent.Note C
public static final NoteBlockEvent.Note C_SHARP
public static final NoteBlockEvent.Note D
public static final NoteBlockEvent.Note D_SHARP
public static final NoteBlockEvent.Note E
public static final NoteBlockEvent.Note F
private static final NoteBlockEvent.Note[] values
public static NoteBlockEvent.Note[] values()
for (NoteBlockEvent.Note c : NoteBlockEvent.Note.values()) System.out.println(c);
public static NoteBlockEvent.Note 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 nullstatic NoteBlockEvent.Note fromId(int id)