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>

public class RP_DrumsStyle extends RP_State
RhythmParameter to specify the drums style.
  • Field Details

  • Constructor Details

    • RP_DrumsStyle

      public RP_DrumsStyle(boolean isPrimary)
  • Method Details

    • toRpValue

      public static String toRpValue(DrumsStyle drumsStyle)
      Get the rpValue corresponding to drumsStyle.
      Parameters:
      drumsStyle -
      Returns:
    • toDrumsStyle

      public static DrumsStyle toDrumsStyle(String rpValue, String rpVariationValue)
      Return the DrumsStyle corresponding to rpValue.

      Manage the AUTO_MODE_VALUE.

      Parameters:
      rpValue -
      rpVariationValue - Required if rpValue==AUTO_MODE_VALUE
      Returns:
    • getAutoModeRpValueFromVariation

      public static String getAutoModeRpValueFromVariation(String rpVariationValue)
      Get the RP_DrumsStyle rpValue to be used for a given rpVariation value when in auto mode.
      Parameters:
      rpVariationValue -
      Returns:
    • get

      public static RP_DrumsStyle get(Rhythm r)