Class RP_StringSet

java.lang.Object
org.jjazz.rhythm.api.RP_StringSet
All Implemented Interfaces:
RhythmParameter<Set<String>>, RpEnumerable<Set<String>>
Direct Known Subclasses:
RP_SYS_Mute

public class RP_StringSet extends Object implements RhythmParameter<Set<String>>, RpEnumerable<Set<String>>
A RhythmParameter composed of a set of strings.

All Set instances returned are immutable.

  • Field Details

  • Constructor Details

    • RP_StringSet

      public RP_StringSet(String id, String name, String description, boolean isPrimary, Set<String> defaultValue, String... possibleValues)
      Create a RP_StringSet.

      Created instance is primary by default.

      Parameters:
      id -
      name - The name of the RhythmParameter.
      description -
      isPrimary -
      defaultValue - All members of the Set must be one of the possibleValues
      possibleValues - String[] The possible values which can be used in a Set (max MAX_SET_SIZE). By convention, min value is set to the 1st possible value, max value to the last one. The empty string must not be one of the possible values.
  • Method Details