Package jmri.jmrit.logixng.actions
Enum ActionAudio.Operation
- java.lang.Object
-
- java.lang.Enum<ActionAudio.Operation>
-
- jmri.jmrit.logixng.actions.ActionAudio.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActionAudio.Operation>
- Enclosing class:
- ActionAudio
public static enum ActionAudio.Operation extends java.lang.Enum<ActionAudio.Operation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FadeIn
FadeOut
Pause
PauseToggle
Play
PlayToggle
ResetPosition
Resume
Rewind
Stop
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static ActionAudio.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActionAudio.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Play
public static final ActionAudio.Operation Play
-
PlayToggle
public static final ActionAudio.Operation PlayToggle
-
Pause
public static final ActionAudio.Operation Pause
-
PauseToggle
public static final ActionAudio.Operation PauseToggle
-
Resume
public static final ActionAudio.Operation Resume
-
Stop
public static final ActionAudio.Operation Stop
-
FadeIn
public static final ActionAudio.Operation FadeIn
-
FadeOut
public static final ActionAudio.Operation FadeOut
-
Rewind
public static final ActionAudio.Operation Rewind
-
ResetPosition
public static final ActionAudio.Operation ResetPosition
-
-
Method Detail
-
values
public static ActionAudio.Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ActionAudio.Operation c : ActionAudio.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionAudio.Operation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ActionAudio.Operation>
-
-