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
  • 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

      public MusicShape addMusicShapeFromSelection​(boolean warnIfEmpty)
    • buildUserPanel

      public void buildUserPanel()
      Description copied from class: MusicShapeEditor
      override this in subclass. getUserPanel() is valid by the time this is called, and is an empty PVPanel
      Overrides:
      buildUserPanel in class MusicShapeEditor
    • getScore

      public Score getScore()
    • setScore

      public void setScore​(Score score)