Class RP_State

java.lang.Object
org.jjazz.rhythm.api.RP_State
All Implemented Interfaces:
Cloneable, RhythmParameter<String>, RpEnumerable<String>
Direct Known Subclasses:
RP_BassStyle, RP_DrumsStyle, RP_SYS_Fill, RP_SYS_Marker, RP_SYS_Variation

public class RP_State extends Object implements RhythmParameter<String>, RpEnumerable<String>, Cloneable
A RhythmParameter whose value can be some specified strings.
  • Constructor Details

    • RP_State

      public RP_State(String id, String name, String description, boolean isPrimary, String defaultValue, String... possibleValues)
      Create a RP_State RhythmParameter.

      Created instance is primary by default.

      Parameters:
      id -
      name - The name of the RhythmParameter.
      description -
      isPrimary -
      defaultValue - String The default value.
      possibleValues - String[] The possible values for this parameter. By convention, min value is set to the 1st possible value, max value to the last one.
  • Method Details