Package org.jjazz.chordinspector.spi
Interface ChordViewer
public interface ChordViewer
A service provider to represent a chord symbol.
 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanup()Get the visual component which represents the chord symbol.A one-line description of this viewer.getIcon()A 16x16 icon representing this viewer.getModel()booleanvoidsetContext(Song song, MidiMix midiMix, RhythmVoice rv) Provide optional context info to the viewer.voidsetEnabled(boolean b) voidsetModel(CLI_ChordSymbol cliCs) Represent the specified chord symbol.
- 
Method Details- 
getComponentJComponent getComponent()Get the visual component which represents the chord symbol.- Returns:
 
- 
getDescriptionString getDescription()A one-line description of this viewer.Used by UI to describe this viewer, e.g. as a tooltip. - Returns:
 
- 
getIconIcon getIcon()A 16x16 icon representing this viewer.Used by the framework to build a UI which lets the user select the active NotesViewer. - Returns:
 
- 
setContextProvide optional context info to the viewer.- Parameters:
- song- Can be null.
- midiMix- Can be null.
- rv- Can be null.
 
- 
setModelRepresent the specified chord symbol.- Parameters:
- cliCs-
 
- 
getModelCLI_ChordSymbol getModel()
- 
setEnabledvoid setEnabled(boolean b) 
- 
isEnabledboolean isEnabled()
- 
cleanupvoid cleanup()
 
-