Class RP_SYS_TempoFactor
java.lang.Object
org.jjazz.rhythm.api.RP_Integer
org.jjazz.rhythm.api.rhythmparameters.RP_SYS_TempoFactor
- All Implemented Interfaces:
RhythmParameter<Integer>
,RpEnumerable<Integer>
Standard RhythmParameter: Tempo percentage change.
Default 100%, min 50%, max 200% .
This RP is not primary and can't be customized: it's a shared instance.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayValue
(Integer value) Get a short String representation of the value.static RP_SYS_TempoFactor
static RP_SYS_TempoFactor
Get the RP_SYS_TempoFactor instance if the specified rhythm uses it.Methods inherited from class org.jjazz.rhythm.api.RP_Integer
calculatePercentage, calculateValue, convertValue, equals, getDefaultValue, getDescription, getDisplayName, getId, getMaxValue, getMinValue, getNextValue, getPossibleValues, getPreviousValue, getStep, getValueDescription, hashCode, isCompatibleWith, isPrimary, isValidValue, loadFromString, saveAsString, toString
Methods inherited from interface org.jjazz.rhythm.api.RhythmParameter
cloneValue
-
Field Details
-
ID
-
-
Method Details
-
getInstance
-
getTempoFactorRp
Get the RP_SYS_TempoFactor instance if the specified rhythm uses it.- Parameters:
r
-- Returns:
- Can be null if not found
-
getDisplayValue
Description copied from interface:RhythmParameter
Get a short String representation of the value.- Specified by:
getDisplayValue
in interfaceRhythmParameter<Integer>
- Overrides:
getDisplayValue
in classRP_Integer
- Returns:
- Can be an empty String.
-