com.frinika.sequencer.gui.clipboard
Class CopyOfMyClipboard

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

public class CopyOfMyClipboard
extends java.lang.Object


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

Constructor Detail

CopyOfMyClipboard

public CopyOfMyClipboard(ProjectContainer project)
Method Detail

copy

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

copy

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

paste

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


paste

public void paste(long tickDest,
                  int selectionLeftColumn,
                  boolean trackerOverrideSnap)
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