Enum Class BassStyle

java.lang.Object
java.lang.Enum<BassStyle>
org.jjazz.jjswing.api.BassStyle
All Implemented Interfaces:
Serializable, Comparable<BassStyle>, Constable

public enum BassStyle extends Enum<BassStyle>
The possible bass styles of a WbpSource.

X_CUSTOM styles are used for dynamically created WbpSources when database could not provide the relevant WbpSource.

  • Enum Constant Details

    • INTRO

      public static final BassStyle INTRO
    • ENDING

      public static final BassStyle ENDING
    • TWO_FEEL

      public static final BassStyle TWO_FEEL
    • TWO_FEEL_CUSTOM

      public static final BassStyle TWO_FEEL_CUSTOM
    • WALKING

      public static final BassStyle WALKING
    • WALKING_CUSTOM

      public static final BassStyle WALKING_CUSTOM
    • WALKING_DOUBLE_NOTE

      public static final BassStyle WALKING_DOUBLE_NOTE
    • WALKING_DOUBLE_NOTE_CUSTOM

      public static final BassStyle WALKING_DOUBLE_NOTE_CUSTOM
    • WALKING_DOUBLE_TIME

      public static final BassStyle WALKING_DOUBLE_TIME
    • WALKING_DOUBLE_TIME_CUSTOM

      public static final BassStyle WALKING_DOUBLE_TIME_CUSTOM
  • Method Details

    • values

      public static BassStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BassStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBassPhraseBuilder

      public org.jjazz.jjswing.bass.PhraseBuilder getBassPhraseBuilder()
      Get the factory associated to this style.
      Returns:
    • is2feel

      public boolean is2feel()
    • isWalking

      public boolean isWalking()
    • isCustom

      public boolean isCustom()
    • getNonCustomStyles

      public static Set<BassStyle> getNonCustomStyles()
    • getCustomStyle

      public BassStyle getCustomStyle()
    • getNonCustomStyle

      public BassStyle getNonCustomStyle()