public enum Effect extends Enum<Effect>
Java class for effect.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="effect">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="anvil"/>
<enumeration value="auto horn"/>
<enumeration value="bird whistle"/>
<enumeration value="cannon"/>
<enumeration value="duck call"/>
<enumeration value="gun shot"/>
<enumeration value="klaxon horn"/>
<enumeration value="lions roar"/>
<enumeration value="police whistle"/>
<enumeration value="siren"/>
<enumeration value="slide whistle"/>
<enumeration value="thunder sheet"/>
<enumeration value="wind machine"/>
<enumeration value="wind whistle"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ANVIL |
AUTO_HORN |
BIRD_WHISTLE |
CANNON |
DUCK_CALL |
GUN_SHOT |
KLAXON_HORN |
LIONS_ROAR |
POLICE_WHISTLE |
SIREN |
SLIDE_WHISTLE |
THUNDER_SHEET |
WIND_MACHINE |
WIND_WHISTLE |
| Modifier and Type | Method and Description |
|---|---|
static Effect |
fromValue(String v) |
String |
value() |
static Effect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Effect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Effect ANVIL
public static final Effect AUTO_HORN
public static final Effect BIRD_WHISTLE
public static final Effect CANNON
public static final Effect DUCK_CALL
public static final Effect GUN_SHOT
public static final Effect KLAXON_HORN
public static final Effect LIONS_ROAR
public static final Effect POLICE_WHISTLE
public static final Effect SIREN
public static final Effect SLIDE_WHISTLE
public static final Effect THUNDER_SHEET
public static final Effect WIND_MACHINE
public static final Effect WIND_WHISTLE
public static Effect[] values()
for (Effect c : Effect.values()) System.out.println(c);
public static Effect 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.