com.softsynth.jmsl.util
Class PasteMusicShapeEditorOperator
java.lang.Object
com.softsynth.jmsl.util.PasteMusicShapeEditorOperator
- All Implemented Interfaces:
- Namable, MusicShapeEditorOperator
public class PasteMusicShapeEditorOperator
- extends java.lang.Object
- implements MusicShapeEditorOperator
Paste to current MusicShapes location the contents of the 0th element in MusicShapeEditor's
static copy buffer.
Depending on constructor flag, either deletes current range selection before inserting or simply inserts
- Author:
- Nick Didkovsky, didkovn@mail.rockefeller.edu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasteMusicShapeEditorOperator
public PasteMusicShapeEditorOperator(boolean inPlace)
operate
public void operate(MusicShapeEditor se,
MusicShape s)
- Paste from MusicShapeEditor's static copy buffer to current index of current MusicShape s.
Uses DimensionNameSpaceTranslator to attempt maximum compatibility. Uses a
DimensionNameSpaceTranslator to achieve maximum fit between source and destination MusicShape
in case their dimension names spaces differ
- Specified by:
operate
in interface MusicShapeEditorOperator
getName
public java.lang.String getName()
- Specified by:
getName
in interface Namable
setName
public void setName(java.lang.String n)
- Specified by:
setName
in interface Namable