public enum StickType extends Enum<StickType>
Java class for stick-type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="stick-type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="bass drum"/>
<enumeration value="double bass drum"/>
<enumeration value="timpani"/>
<enumeration value="xylophone"/>
<enumeration value="yarn"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BASS_DRUM |
DOUBLE_BASS_DRUM |
TIMPANI |
XYLOPHONE |
YARN |
| Modifier and Type | Method and Description |
|---|---|
static StickType |
fromValue(String v) |
String |
value() |
static StickType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StickType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StickType BASS_DRUM
public static final StickType DOUBLE_BASS_DRUM
public static final StickType TIMPANI
public static final StickType XYLOPHONE
public static final StickType YARN
public static StickType[] values()
for (StickType c : StickType.values()) System.out.println(c);
public static StickType 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 value()
Copyright © 2016 Audiveris Ltd. All rights reserved.