com.frinika.sequencer.gui.clipboard
Class MyClipboard

java.lang.Object
  extended by com.frinika.sequencer.gui.clipboard.MyClipboard

public class MyClipboard
extends java.lang.Object


Method Summary
 void copy(java.util.Collection<? extends Selectable> collection, ProjectContainer srcProject)
           
 void copy(java.util.Collection<Selectable> list, long selectionStartTick, int selectionLeftColumn, ProjectContainer srcProject)
           
 void paste(long tickDest, int selectionLeftColumn, boolean trackerOverrideSnap, ProjectContainer dstProject)
          Paste from the clipboard
 void paste(ProjectContainer dstProject)
          Default paste action to the sequencers tickposition and tracker column 0
static MyClipboard the()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

the

public static MyClipboard the()

copy

public void copy(java.util.Collection<Selectable> list,
                 long selectionStartTick,
                 int selectionLeftColumn,
                 ProjectContainer srcProject)

copy

public void copy(java.util.Collection<? extends Selectable> collection,
                 ProjectContainer srcProject)

paste

public void paste(ProjectContainer dstProject)
Default paste action to the sequencers tickposition and tracker column 0


paste

public void paste(long tickDest,
                  int selectionLeftColumn,
                  boolean trackerOverrideSnap,
                  ProjectContainer dstProject)
Paste from the clipboard

Parameters:
tickDest - - the destination tick for the start of paste
selectionLeftColumn - - used by tracker to determine which column to start the pasting into
trackerOverrideSnap - - when pasting from the tracker - snap to the row rather than the piano roll snap setting