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
Change the way music is rendered for a chord symbol.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdd an accent.Add a stronger accent.Make sure there is a crash cymbal.Make Hold/Shot applied to more instruments and/or longer.Hold some notes until next chord.Make sure chord is not played "anticipated".Make sure there is not crash cymbal.Bass line must only use the chord symbol root note (or bass note if specified for slash chord Am/D).Make some notes played briefly. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
For example PEDAL_BASS will return "Pedal Bass"static ChordRenderingInfo.Feature
Returns the enum constant of this class with the specified name.static ChordRenderingInfo.Feature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
ACCENT
Add an accent.IMPORTANT: Exclusive with ACCENT_STRONGER.
-
ACCENT_STRONGER
Add a stronger accent.IMPORTANT: Exclusive with ACCENT.
-
HOLD
Hold some notes until next chord.IMPORTANT: Exclusive with SHOT.
-
SHOT
Make some notes played briefly.IMPORTANT: Exclusive with HOLD.
-
EXTENDED_HOLD_SHOT
Make Hold/Shot applied to more instruments and/or longer.Ignored if no HOLD or SHOT.
-
NO_CRASH
Make sure there is not crash cymbal.IMPORTANT: Exclusive with NO_CRASH
-
CRASH
Make sure there is a crash cymbal.IMPORTANT: Exclusive with CRASH
-
PEDAL_BASS
Bass line must only use the chord symbol root note (or bass note if specified for slash chord Am/D). -
NO_ANTICIPATION
Make sure chord is not played "anticipated".
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
For example PEDAL_BASS will return "Pedal Bass"- Overrides:
toString
in classEnum<ChordRenderingInfo.Feature>
- Returns:
-