|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.view.PVPanelAdapter com.softsynth.jmsl.score.ScoreControlPanel
public class ScoreControlPanel
ScoreControlPanel
Control zoom and measure #
JMSL Notation Project
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Constructor Summary | |
---|---|
ScoreControlPanel(Score score)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addZoomListener(ZoomListener zl)
|
void |
clearSectionChoice()
|
void |
finish()
calls finishAll() on scorecollection, sets gui buttons |
ScoreSection |
getCurrentSection()
|
boolean |
getLoopState()
|
void |
handleMeasure()
|
void |
handleZoom()
|
void |
itemStateChanged(java.awt.event.ItemEvent e)
|
void |
launch(double time,
int startMeasure,
int endMeasure,
boolean useButton)
Launch the score at specified time, starting and ending at specified measures |
void |
launchSection(double playTime,
boolean useButton)
launch current section. |
static void |
main(java.lang.String[] args)
|
void |
notifyLayout(int numMeasuresInLayout)
|
void |
notifyMeasureBeat(int measure,
int beat,
int beatsInMeasure)
Display measure and beat in Label, notified by Score's Measure's MeasureMetronome |
void |
notifyScrollbarValueChanged(PVScrollbar jsb)
|
void |
notifySectionUpdate(ScoreSection section)
|
double |
play(double time,
Composable parent)
Result of collection finishing |
void |
setLoop(boolean flag)
Set internal flag to loop playback or not. |
void |
setMax(int max)
|
void |
setMeasureBar(int measureNumber)
|
void |
setSectionName(int sectionIndex,
java.lang.String sectionName)
|
void |
setZoom(double z)
|
Methods inherited from class com.softsynth.jmsl.view.PVPanelAdapter |
---|
add, add, addKeyListener, equals, getBackground, getBounds, getComponent, getFont, getParent, hashCode, isEnabled, remove, removeAll, removeKeyListener, setBackground, setEnabled, setFont, setLayout, setLocation, setVisible, toString, validate |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
Constructor Detail |
---|
public ScoreControlPanel(Score score)
Method Detail |
---|
public void setMax(int max)
public void addZoomListener(ZoomListener zl)
public void handleZoom()
public void setZoom(double z)
public void notifyLayout(int numMeasuresInLayout)
public void handleMeasure()
public void setMeasureBar(int measureNumber)
public void notifyScrollbarValueChanged(PVScrollbar jsb)
notifyScrollbarValueChanged
in interface PVScrollbarListener
public void notifySectionUpdate(ScoreSection section)
public ScoreSection getCurrentSection()
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
public boolean getLoopState()
public void launch(double time, int startMeasure, int endMeasure, boolean useButton)
public void launchSection(double playTime, boolean useButton)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void setLoop(boolean flag)
public void finish()
public double play(double time, Composable parent)
play
in interface Playable
public void notifyMeasureBeat(int measure, int beat, int beatsInMeasure)
notifyMeasureBeat
in interface MeasureMetronomeListener
public void clearSectionChoice()
public void setSectionName(int sectionIndex, java.lang.String sectionName)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |