|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A SongLineMember that represents a chord annotation.
| Method Summary | |
ChordSet |
getChordSet()
Get the ChordSet relevant to this annotation. |
Chord[] |
getFollowingChords()
Get the array of chords that should follow the main chord. |
Chord[] |
getPrecedingChords()
Get the array of chords that should precede the main chord. |
Chord |
getPrimaryChord()
Get the primary chord. |
boolean |
isInChordSet(ChordSet cs)
Returns true if this annotation in the given ChordSet. |
void |
setFollowingChords(Chord[] chords,
UndoableEditListener undoListener)
Set the array of chords that should follow the main one. |
void |
setPrecedingChords(Chord[] chords,
UndoableEditListener undoListener)
Set the array of chords that should precede the main one. |
void |
setPrimaryChord(Chord chord,
UndoableEditListener undoListener)
Set the primary chord. |
| Methods inherited from interface com.virtuosotechnologies.asaph.model.SongLineMember |
getSongLine |
| Methods inherited from interface com.virtuosotechnologies.asaph.model.SongMember |
getSong, isDefunct |
| Method Detail |
public ChordSet getChordSet()
public boolean isInChordSet(ChordSet cs)
cs - ChordSet to match with
public Chord getPrimaryChord()
public Chord[] getPrecedingChords()
public Chord[] getFollowingChords()
public void setPrimaryChord(Chord chord,
UndoableEditListener undoListener)
chord - the chord.undoListener - listener to notify if an undoable edit is generated,
or null to suppress generation of undoable edits
public void setPrecedingChords(Chord[] chords,
UndoableEditListener undoListener)
chords - the chord arrayundoListener - listener to notify if an undoable edit is generated,
or null to suppress generation of undoable edits
public void setFollowingChords(Chord[] chords,
UndoableEditListener undoListener)
chords - the chord arrayundoListener - listener to notify if an undoable edit is generated,
or null to suppress generation of undoable edits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||