protected static enum SoundPlayingRobotMonitor.Sound extends java.lang.Enum<SoundPlayingRobotMonitor.Sound>
Enum Constant and Description |
---|
Connect |
Disconnect |
Error |
None |
Running |
Warning |
Modifier and Type | Method and Description |
---|---|
static SoundPlayingRobotMonitor.Sound |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoundPlayingRobotMonitor.Sound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundPlayingRobotMonitor.Sound None
public static final SoundPlayingRobotMonitor.Sound Connect
public static final SoundPlayingRobotMonitor.Sound Disconnect
public static final SoundPlayingRobotMonitor.Sound Running
public static final SoundPlayingRobotMonitor.Sound Warning
public static final SoundPlayingRobotMonitor.Sound Error
public static SoundPlayingRobotMonitor.Sound[] values()
for (SoundPlayingRobotMonitor.Sound c : SoundPlayingRobotMonitor.Sound.values()) System.out.println(c);
public static SoundPlayingRobotMonitor.Sound valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null