Enum Class ChordRenderingInfo.Feature

java.lang.Object
java.lang.Enum<ChordRenderingInfo.Feature>
org.jjazz.chordleadsheet.api.item.ChordRenderingInfo.Feature
All Implemented Interfaces:
Serializable, Comparable<ChordRenderingInfo.Feature>, Constable
Enclosing class:
ChordRenderingInfo

public static enum ChordRenderingInfo.Feature extends Enum<ChordRenderingInfo.Feature>
Change the way music is rendered for a chord symbol.
  • Enum Constant Details

    • ACCENT

      public static final ChordRenderingInfo.Feature ACCENT
      Add an accent.

      IMPORTANT: Exclusive with ACCENT_STRONGER.

    • ACCENT_STRONGER

      public static final ChordRenderingInfo.Feature ACCENT_STRONGER
      Add a stronger accent.

      IMPORTANT: Exclusive with ACCENT.

    • HOLD

      public static final ChordRenderingInfo.Feature HOLD
      Hold some notes until next chord.

      IMPORTANT: Exclusive with SHOT.

    • SHOT

      public static final ChordRenderingInfo.Feature SHOT
      Make some notes played briefly.

      IMPORTANT: Exclusive with HOLD.

    • EXTENDED_HOLD_SHOT

      public static final ChordRenderingInfo.Feature EXTENDED_HOLD_SHOT
      Make Hold/Shot applied to more instruments and/or longer.

      Ignored if no HOLD or SHOT.

    • NO_CRASH

      public static final ChordRenderingInfo.Feature NO_CRASH
      Make sure there is not crash cymbal.

      IMPORTANT: Exclusive with NO_CRASH

    • CRASH

      public static final ChordRenderingInfo.Feature CRASH
      Make sure there is a crash cymbal.

      IMPORTANT: Exclusive with CRASH

    • PEDAL_BASS

      public static final ChordRenderingInfo.Feature PEDAL_BASS
      Bass line must only use the chord symbol root note (or bass note if specified for slash chord Am/D).
    • NO_ANTICIPATION

      public static final ChordRenderingInfo.Feature NO_ANTICIPATION
      Make sure chord is not played "anticipated".
  • Method Details

    • values

      public static ChordRenderingInfo.Feature[] 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 ChordRenderingInfo.Feature 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
    • toString

      public String toString()
      For example PEDAL_BASS will return "Pedal Bass"
      Overrides:
      toString in class Enum<ChordRenderingInfo.Feature>
      Returns: