Class RP_DrumsStyle
java.lang.Object
org.jjazz.rhythm.api.RP_State
org.jjazz.jjswing.api.RP_DrumsStyle
- All Implemented Interfaces:
Cloneable,RhythmParameter<String>,RpEnumerable<String>
RhythmParameter to specify the drums style.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RP_DrumsStylestatic StringgetAutoModeRpValueFromVariation(String rpVariationValue) Get the RP_DrumsStyle rpValue to be used for a given rpVariation value when in auto mode.static DrumsStyletoDrumsStyle(String rpValue, String rpVariationValue) Return the DrumsStyle corresponding to rpValue.static StringtoRpValue(DrumsStyle drumsStyle) Get the rpValue corresponding to drumsStyle.Methods inherited from class org.jjazz.rhythm.api.RP_State
calculatePercentage, calculateValue, convertValue, equals, getCopy, getDefaultValue, getDescription, getDisplayName, getDisplayValue, getId, getMaxValue, getMinValue, getNextValue, getPossibleValues, getPreviousValue, getValueDescription, hashCode, isCompatibleWith, isPrimary, isValidValue, loadFromString, saveAsString, toStringMethods inherited from interface org.jjazz.rhythm.api.RhythmParameter
cloneValue
-
Field Details
-
AUTO_MODE_VALUE
- See Also:
-
-
Constructor Details
-
RP_DrumsStyle
public RP_DrumsStyle(boolean isPrimary)
-
-
Method Details
-
toRpValue
Get the rpValue corresponding to drumsStyle.- Parameters:
drumsStyle-- Returns:
-
toDrumsStyle
Return the DrumsStyle corresponding to rpValue.Manage the AUTO_MODE_VALUE.
- Parameters:
rpValue-rpVariationValue- Required if rpValue==AUTO_MODE_VALUE- Returns:
-
getAutoModeRpValueFromVariation
-
get
-