public enum Metal extends Enum<Metal>
Java class for metal.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="metal">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="almglocken"/>
<enumeration value="bell"/>
<enumeration value="bell plate"/>
<enumeration value="brake drum"/>
<enumeration value="Chinese cymbal"/>
<enumeration value="cowbell"/>
<enumeration value="crash cymbals"/>
<enumeration value="crotale"/>
<enumeration value="cymbal tongs"/>
<enumeration value="domed gong"/>
<enumeration value="finger cymbals"/>
<enumeration value="flexatone"/>
<enumeration value="gong"/>
<enumeration value="hi-hat"/>
<enumeration value="high-hat cymbals"/>
<enumeration value="handbell"/>
<enumeration value="sistrum"/>
<enumeration value="sizzle cymbal"/>
<enumeration value="sleigh bells"/>
<enumeration value="suspended cymbal"/>
<enumeration value="tam tam"/>
<enumeration value="triangle"/>
<enumeration value="Vietnamese hat"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALMGLOCKEN |
BELL |
BELL_PLATE |
BRAKE_DRUM |
CHINESE_CYMBAL |
COWBELL |
CRASH_CYMBALS |
CROTALE |
CYMBAL_TONGS |
DOMED_GONG |
FINGER_CYMBALS |
FLEXATONE |
GONG |
HANDBELL |
HI_HAT |
HIGH_HAT_CYMBALS |
SISTRUM |
SIZZLE_CYMBAL |
SLEIGH_BELLS |
SUSPENDED_CYMBAL |
TAM_TAM |
TRIANGLE |
VIETNAMESE_HAT |
| Modifier and Type | Method and Description |
|---|---|
static Metal |
fromValue(String v) |
String |
value() |
static Metal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metal ALMGLOCKEN
public static final Metal BELL
public static final Metal BELL_PLATE
public static final Metal BRAKE_DRUM
public static final Metal CHINESE_CYMBAL
public static final Metal COWBELL
public static final Metal CRASH_CYMBALS
public static final Metal CROTALE
public static final Metal CYMBAL_TONGS
public static final Metal DOMED_GONG
public static final Metal FINGER_CYMBALS
public static final Metal FLEXATONE
public static final Metal GONG
public static final Metal HI_HAT
public static final Metal HIGH_HAT_CYMBALS
public static final Metal HANDBELL
public static final Metal SISTRUM
public static final Metal SIZZLE_CYMBAL
public static final Metal SLEIGH_BELLS
public static final Metal SUSPENDED_CYMBAL
public static final Metal TAM_TAM
public static final Metal TRIANGLE
public static final Metal VIETNAMESE_HAT
public static Metal[] values()
for (Metal c : Metal.values()) System.out.println(c);
public static Metal 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.