Class NCExtChordSymbol
java.lang.Object
org.jjazz.harmony.api.ChordSymbol
org.jjazz.chordleadsheet.api.item.ExtChordSymbol
org.jjazz.chordleadsheet.api.item.NCExtChordSymbol
- All Implemented Interfaces:
Serializable,Cloneable
A special "NC" chord symbol for No Chord.
When used nothing should be played.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a NC chord with no standard ChordRenderingInfo and no alternate chord symbol.NCExtChordSymbol(ChordRenderingInfo rInfo, AltExtChordSymbol altChordSymbol, AltDataFilter altFilter) Create a NC chord symbol with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoiddump()Print the ChordSymbol, its aliases and degreesgetCopy(ChordSymbol cs, ChordRenderingInfo rInfo, AltExtChordSymbol altChordSymbol, AltDataFilter altFilter) Get a copy of this ExtChordSymbol, possibly modified with the specified parameters.getName()The standard ChordSymbol recognized by JJazzLab.Return the name used at creation if the ChordType(String) constructor has been used.getTransposedChordSymbol(int t, Note.Alteration alt) Get a transposed ExtChordSymbol.toString()Methods inherited from class org.jjazz.chordleadsheet.api.item.ExtChordSymbol
createRandomChordSymbol, equals, fitNote, get, get, getAlternateChordSymbol, getAlternateFilter, getChordSymbol, getRenderingInfo, hashCode, isSameChordSymbolMethods inherited from class org.jjazz.harmony.api.ChordSymbol
clone, getBassNote, getChord, getChordType, getRandom, getRelativePitch, getRelativePitch, getRelativePitch, getRootNote, getSimplified, isSameChordType
-
Field Details
-
NAME
- See Also:
-
DESCRIPTION
- See Also:
-
-
Constructor Details
-
NCExtChordSymbol
public NCExtChordSymbol()Create a NC chord with no standard ChordRenderingInfo and no alternate chord symbol. -
NCExtChordSymbol
public NCExtChordSymbol(ChordRenderingInfo rInfo, AltExtChordSymbol altChordSymbol, AltDataFilter altFilter) Create a NC chord symbol with the specified parameters.- Parameters:
rInfo-altChordSymbol-altFilter-
-
-
Method Details
-
getCopy
public NCExtChordSymbol getCopy(ChordSymbol cs, ChordRenderingInfo rInfo, AltExtChordSymbol altChordSymbol, AltDataFilter altFilter) Description copied from class:ExtChordSymbolGet a copy of this ExtChordSymbol, possibly modified with the specified parameters.- Overrides:
getCopyin classExtChordSymbol- Parameters:
cs- If not null return value will use this parameter.rInfo- If not null return value will use this parameter.altChordSymbol- If not null return value will use this parameter. If not null altFilter must be also non-null.altFilter- If not null return value will use this parameter. If not null altChordSymbol must be also non-null.- Returns:
-
getTransposedChordSymbol
Description copied from class:ExtChordSymbolGet a transposed ExtChordSymbol.- Overrides:
getTransposedChordSymbolin classExtChordSymbol- Parameters:
t- The amount of transposition in semi-tons.alt- If not null alteration is unchanged, otherwise use alt- Returns:
- A new transposed ExtChordSymbol.
-
getName
Description copied from class:ChordSymbolThe standard ChordSymbol recognized by JJazzLab.This may differ from the original name.
- Overrides:
getNamein classChordSymbol- Returns:
- See Also:
-
getOriginalName
Description copied from class:ChordSymbolReturn the name used at creation if the ChordType(String) constructor has been used.It may differ from the getName() if an chord type alias was used. First char is always upper case.
- Overrides:
getOriginalNamein classChordSymbol- Returns:
-
toNoteString
- Overrides:
toNoteStringin classChordSymbol- Returns:
- E.g. for D7 return "[D, F#, A, C]"
-
toString
- Overrides:
toStringin classChordSymbol
-
dump
public void dump()Description copied from class:ChordSymbolPrint the ChordSymbol, its aliases and degrees- Overrides:
dumpin classChordSymbol
-