public enum Sound extends Enum<Sound>
| Enum Constant and Description |
|---|
ALIEN |
BIKE |
BUGLE |
CASHREGISTET |
CLASSICAL |
CLIMB |
COSMIC |
ECHO |
FALLING |
GAMELAN |
INCOMING |
INTERMISSION |
MAGIC |
MECHANICAL |
NONE |
PERSISTENT |
PIANOBAR |
PUSHOVER |
SIREN |
SPACEALARM |
TUGBOAT |
UPDOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Sound |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sound ALIEN
public static final Sound BIKE
public static final Sound BUGLE
public static final Sound CASHREGISTET
public static final Sound CLASSICAL
public static final Sound CLIMB
public static final Sound COSMIC
public static final Sound ECHO
public static final Sound FALLING
public static final Sound GAMELAN
public static final Sound INCOMING
public static final Sound INTERMISSION
public static final Sound MAGIC
public static final Sound MECHANICAL
public static final Sound NONE
public static final Sound PERSISTENT
public static final Sound PIANOBAR
public static final Sound PUSHOVER
public static final Sound SIREN
public static final Sound SPACEALARM
public static final Sound TUGBOAT
public static final Sound UPDOWN
public static Sound[] values()
for (Sound c : Sound.values()) System.out.println(c);
public static Sound 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 nullCopyright © 2018. All rights reserved.