public static enum Track.TrackType extends Enum<Track.TrackType>
Enum Constant and Description |
---|
MELODIC
The track contains melodic sequences, subject to transposition.
|
RHYTHMIC
The track contains fixed-pitch sequences, which must not be transposed.
|
Modifier and Type | Method and Description |
---|---|
static Track.TrackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Track.TrackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Track.TrackType MELODIC
public static final Track.TrackType RHYTHMIC
public static Track.TrackType[] values()
for (Track.TrackType c : Track.TrackType.values()) System.out.println(c);
public static Track.TrackType 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 null