Package com.softsynth.jmsl.score.view
Class ScoreMusicShapeEditor
java.lang.Object
com.softsynth.jmsl.view.PVPanelAdapter
com.softsynth.jmsl.view.MusicShapeEditor
com.softsynth.jmsl.score.view.ScoreMusicShapeEditor
- All Implemented Interfaces:
PVComponent,PVPanel,PlayLurker,java.awt.event.ActionListener,java.awt.event.ItemListener,java.util.EventListener
public class ScoreMusicShapeEditor extends MusicShapeEditor
Subclass of MusicShapeEditor that can pull in selected Notes from a Score and transcribe the
MusicShape back out to the score
- Author:
- Nick Didkovsky, (c) 2006 Nick Didkovsky, all rights reserved
-
Field Summary
Fields inherited from class com.softsynth.jmsl.view.MusicShapeEditor
DRAW_EDIT, RANGE_SELECT, SAFE, ZOOMING -
Constructor Summary
Constructors Constructor Description ScoreMusicShapeEditor()ScoreMusicShapeEditor(java.lang.String title)ScoreMusicShapeEditor(java.lang.String title, int w, int h)ScoreMusicShapeEditor(java.lang.String title, int w, int h, java.awt.Color color)ScoreMusicShapeEditor(java.lang.String title, int w, int h, java.awt.Color color, java.awt.Font font, double zoom, boolean lockToInt, boolean showGrid) -
Method Summary
Modifier and Type Method Description MusicShapeaddMusicShapeFromSelection(boolean warnIfEmpty)voidbuildUserPanel()override this in subclass.voidfinish()ScoregetScore()voidsetScore(Score score)Methods inherited from class com.softsynth.jmsl.view.MusicShapeEditor
actionPerformed, addMusicShape, addMusicShapeEditorOperator, bufferSize, clear, clearBuffer, elementEditedOrYChanged, fromBuffer, getCeiling, getDimension, getEditMode, getFloor, getFont, getInvert, getLockedToInt, getMusicShape, getMusicShapes, getRangeEndIndex, getRangeStartIndex, getUserPanel, getV1, getV2, getV3, itemStateChanged, main, notifyPlayLurker, refresh, removeMusicShapeRangeOperator, repackParent, repaint, reset, setFont, setRange, setZoom, showMessage, toBuffer, toBuffer, updateMinMaxLabelsMethods inherited from class com.softsynth.jmsl.view.PVPanelAdapter
add, add, addKeyListener, equals, getBackground, getBounds, getComponent, getLocation, getParent, hashCode, isEnabled, remove, removeAll, removeKeyListener, setBackground, setEnabled, setLayout, setLocation, setVisible, toString, validateMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ScoreMusicShapeEditor
public ScoreMusicShapeEditor(java.lang.String title, int w, int h, java.awt.Color color, java.awt.Font font, double zoom, boolean lockToInt, boolean showGrid) -
ScoreMusicShapeEditor
public ScoreMusicShapeEditor(java.lang.String title, int w, int h, java.awt.Color color) -
ScoreMusicShapeEditor
public ScoreMusicShapeEditor(java.lang.String title, int w, int h) -
ScoreMusicShapeEditor
public ScoreMusicShapeEditor(java.lang.String title) -
ScoreMusicShapeEditor
public ScoreMusicShapeEditor()
-
-
Method Details
-
finish
public void finish() -
addMusicShapeFromSelection
-
buildUserPanel
public void buildUserPanel()Description copied from class:MusicShapeEditoroverride this in subclass. getUserPanel() is valid by the time this is called, and is an empty PVPanel- Overrides:
buildUserPanelin classMusicShapeEditor
-
getScore
-
setScore
-