Package uk.ac.qmul.eecs.depic.daw
Enum SoundType
- java.lang.Object
-
- java.lang.Enum<SoundType>
-
- uk.ac.qmul.eecs.depic.daw.SoundType
-
public enum SoundType extends java.lang.Enum<SoundType>
Type of sounds that are triggered by the sonification in response to events
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description AUTOMATION
ERROR
HAPTIC_PORT_TOUCH
LOOP
OK
PEAK_LEVEL
SHIFT_END
SHIFT_START
ZOOM_LEVEL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static SoundType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoundType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATION
public static final SoundType AUTOMATION
-
ERROR
public static final SoundType ERROR
-
HAPTIC_PORT_TOUCH
public static final SoundType HAPTIC_PORT_TOUCH
-
LOOP
public static final SoundType LOOP
-
OK
public static final SoundType OK
-
PEAK_LEVEL
public static final SoundType PEAK_LEVEL
-
SHIFT_END
public static final SoundType SHIFT_END
-
SHIFT_START
public static final SoundType SHIFT_START
-
ZOOM_LEVEL
public static final SoundType ZOOM_LEVEL
-
-
Method Detail
-
values
public static SoundType[] 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 (SoundType c : SoundType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoundType 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
-
-