public enum Mute extends Enum<Mute>
Java class for mute.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="mute">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="on"/>
<enumeration value="off"/>
<enumeration value="straight"/>
<enumeration value="cup"/>
<enumeration value="harmon-no-stem"/>
<enumeration value="harmon-stem"/>
<enumeration value="bucket"/>
<enumeration value="plunger"/>
<enumeration value="hat"/>
<enumeration value="solotone"/>
<enumeration value="practice"/>
<enumeration value="stop-mute"/>
<enumeration value="stop-hand"/>
<enumeration value="echo"/>
<enumeration value="palm"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BUCKET |
CUP |
ECHO |
HARMON_NO_STEM |
HARMON_STEM |
HAT |
OFF |
ON |
PALM |
PLUNGER |
PRACTICE |
SOLOTONE |
STOP_HAND |
STOP_MUTE |
STRAIGHT |
| Modifier and Type | Method and Description |
|---|---|
static Mute |
fromValue(String v) |
String |
value() |
static Mute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mute ON
public static final Mute OFF
public static final Mute STRAIGHT
public static final Mute CUP
public static final Mute HARMON_NO_STEM
public static final Mute HARMON_STEM
public static final Mute BUCKET
public static final Mute PLUNGER
public static final Mute HAT
public static final Mute SOLOTONE
public static final Mute PRACTICE
public static final Mute STOP_MUTE
public static final Mute STOP_HAND
public static final Mute ECHO
public static final Mute PALM
public static Mute[] values()
for (Mute c : Mute.values()) System.out.println(c);
public static Mute 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.