public enum NoteScripts extends Enum<NoteScripts>
Enum Constant and Description |
---|
FORCE_INTO_RANGE |
STRAIGHT_THROUGH |
Modifier and Type | Method and Description |
---|---|
String |
displayName() |
String |
toString() |
static NoteScripts |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoteScripts[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoteScripts STRAIGHT_THROUGH
public static final NoteScripts FORCE_INTO_RANGE
public static NoteScripts[] values()
for (NoteScripts c : NoteScripts.values()) System.out.println(c);
public static NoteScripts valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<NoteScripts>
public String displayName()