com.frinika.sequencer.gui.clipboard
Class MultiEventClipboardData

java.lang.Object
  extended by com.frinika.sequencer.gui.clipboard.MultiEventClipboardData
All Implemented Interfaces:
java.io.Serializable

public class MultiEventClipboardData
extends java.lang.Object
implements java.io.Serializable

Author:
Peter Johan Salomonsen
See Also:
Serialized Form

Constructor Summary
MultiEventClipboardData(long referenceTick, java.util.Collection<MultiEvent> multiEvents)
          When inserted the referenceTick is subtracted from all startTicks in the multiEvents.
 
Method Summary
 java.util.Collection<MultiEvent> getClonedMultiEvents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiEventClipboardData

public MultiEventClipboardData(long referenceTick,
                               java.util.Collection<MultiEvent> multiEvents)
When inserted the referenceTick is subtracted from all startTicks in the multiEvents. A cloned copy of the multiEvents is kept in this object.

Parameters:
referenceTick -
multiEvents -
Method Detail

getClonedMultiEvents

public java.util.Collection<MultiEvent> getClonedMultiEvents()
Returns:
Returns a cloned copy of the multiEvents in this object