public static enum Tempo.Division extends Enum<Tempo.Division>
Enum Constant and Description |
---|
DOUBLE |
EIGHT |
EIGHTH |
EIGHTH_DOT |
EIGHTH_TRIPLET |
FOUR |
HALF |
HALF_DOT |
HALF_TRIPLET |
QUARTER |
QUARTER_DOT |
QUARTER_TRIPLET |
SIXTEEN |
SIXTEENTH |
WHOLE |
WHOLE_DOT |
Modifier and Type | Field and Description |
---|---|
String |
label |
double |
multiplier |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Tempo.Division |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tempo.Division[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tempo.Division SIXTEENTH
public static final Tempo.Division EIGHTH_TRIPLET
public static final Tempo.Division EIGHTH
public static final Tempo.Division EIGHTH_DOT
public static final Tempo.Division QUARTER_TRIPLET
public static final Tempo.Division QUARTER
public static final Tempo.Division HALF_TRIPLET
public static final Tempo.Division QUARTER_DOT
public static final Tempo.Division HALF
public static final Tempo.Division HALF_DOT
public static final Tempo.Division WHOLE
public static final Tempo.Division WHOLE_DOT
public static final Tempo.Division DOUBLE
public static final Tempo.Division FOUR
public static final Tempo.Division EIGHT
public static final Tempo.Division SIXTEEN
public final double multiplier
public final String label
public static Tempo.Division[] values()
for (Tempo.Division c : Tempo.Division.values()) System.out.println(c);
public static Tempo.Division 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<Tempo.Division>
LX library by Mark C. Slee. © 2012-2020