uk.org.toot.midi.sequence.edit
Class SequenceSelection
java.lang.Object
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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceSelection
public SequenceSelection(MidiSequence sequence)
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.