Package org.deepsymmetry.beatlink
Enum PlayerSettings.TempoRange
- java.lang.Object
-
- java.lang.Enum<PlayerSettings.TempoRange>
-
- org.deepsymmetry.beatlink.PlayerSettings.TempoRange
-
- All Implemented Interfaces:
Serializable
,Comparable<PlayerSettings.TempoRange>
- Enclosing class:
- PlayerSettings
public static enum PlayerSettings.TempoRange extends Enum<PlayerSettings.TempoRange>
The options for tempo range limits.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PLUS_MINUS_10
PLUS_MINUS_16
PLUS_MINUS_6
WIDE
-
Field Summary
Fields Modifier and Type Field Description String
displayValue
The value displayed in the rekordbox interface for each tempo range setting.byte
protocolValue
The value sent in the Load Settings packet which establishes each tempo range setting.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlayerSettings.TempoRange
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlayerSettings.TempoRange[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUS_MINUS_6
public static final PlayerSettings.TempoRange PLUS_MINUS_6
-
PLUS_MINUS_10
public static final PlayerSettings.TempoRange PLUS_MINUS_10
-
PLUS_MINUS_16
public static final PlayerSettings.TempoRange PLUS_MINUS_16
-
WIDE
public static final PlayerSettings.TempoRange WIDE
-
-
Field Detail
-
displayValue
public final String displayValue
The value displayed in the rekordbox interface for each tempo range setting.
-
protocolValue
public final byte protocolValue
The value sent in the Load Settings packet which establishes each tempo range setting.
-
-
Method Detail
-
values
public static PlayerSettings.TempoRange[] 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 (PlayerSettings.TempoRange c : PlayerSettings.TempoRange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlayerSettings.TempoRange valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-