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
-
Constructor Summary
ConstructorDescriptionCreate 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 TypeMethodDescriptionvoid
dump()
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, isSameChordSymbol
Methods 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:ExtChordSymbol
Get a copy of this ExtChordSymbol, possibly modified with the specified parameters.- Overrides:
getCopy
in 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:ExtChordSymbol
Get a transposed ExtChordSymbol.- Overrides:
getTransposedChordSymbol
in 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:ChordSymbol
The standard ChordSymbol recognized by JJazzLab.This may differ from the original name.
- Overrides:
getName
in classChordSymbol
- Returns:
- See Also:
-
getOriginalName
Description copied from class:ChordSymbol
Return 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:
getOriginalName
in classChordSymbol
- Returns:
-
toNoteString
- Overrides:
toNoteString
in classChordSymbol
- Returns:
- E.g. for D7 return "[D, F#, A, C]"
-
toString
- Overrides:
toString
in classChordSymbol
-
dump
public void dump()Description copied from class:ChordSymbol
Print the ChordSymbol, its aliases and degrees- Overrides:
dump
in classChordSymbol
-