uk.org.toot.midi.sequence.edit
Class SequenceSelection

java.lang.Object
  extended by uk.org.toot.midi.sequence.edit.SequenceSelection
All Implemented Interfaces:
java.lang.Cloneable, Copyable, CutPasteable, Editable, Moveable, Selection, Transposable

public class SequenceSelection
extends java.lang.Object
implements Selection, java.lang.Cloneable


Constructor Summary
SequenceSelection(MidiSequence sequence)
           
 
Method Summary
 void clear()
           
 java.lang.Object clone()
           
 boolean contains(MidiNote note)
           
 boolean cut()
           
 java.lang.Object deepCopy()
           
 void fireChanged()
           
 ChangeSupport getChangeSupport()
           
 MidiSequence getSequence()
           
 TrackSelection getTrack(MidiTrack track)
           
 TrackSelection[] getTracks()
           
 boolean isEmpty()
           
 boolean move(long ticks, int semitones)
           
 boolean paste()
           
 int size()
           
 boolean transpose(int semitones)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceSelection

public SequenceSelection(MidiSequence sequence)
Method Detail

clear

public void clear()

size

public int size()
Specified by:
size in interface Selection

isEmpty

public boolean isEmpty()

contains

public boolean contains(MidiNote note)
Specified by:
contains in interface Selection

fireChanged

public void fireChanged()

getTracks

public TrackSelection[] getTracks()

getTrack

public TrackSelection getTrack(MidiTrack track)

getSequence

public MidiSequence getSequence()

getChangeSupport

public ChangeSupport getChangeSupport()

cut

public boolean cut()
Specified by:
cut in interface CutPasteable

paste

public boolean paste()
Specified by:
paste in interface CutPasteable

transpose

public boolean transpose(int semitones)
Specified by:
transpose in interface Transposable

move

public boolean move(long ticks,
                    int semitones)
Specified by:
move in interface Moveable

clone

public java.lang.Object clone()
Specified by:
clone in interface Editable
Overrides:
clone in class java.lang.Object

deepCopy

public java.lang.Object deepCopy()
Specified by:
deepCopy in interface Copyable


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.