uk.org.toot.midi.sequence.edit
Class TrackSelection
java.lang.Object
uk.org.toot.midi.sequence.edit.TrackSelection
- All Implemented Interfaces:
- java.lang.Cloneable, Copyable, CutPasteable, Editable, Moveable, Selection, Transposable
public class TrackSelection
- 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 |
TrackSelection
public TrackSelection(MidiTrack track)
TrackSelection
public TrackSelection(MidiTrack track,
MidiNote note)
TrackSelection
public TrackSelection(MidiTrack track,
java.util.List<MidiNote> notes)
size
public int size()
- Specified by:
size
in interface Selection
iterator
public java.util.Iterator iterator()
contains
public boolean contains(MidiNote note)
- Specified by:
contains
in interface Selection
select
public boolean select(MidiNote note)
getTrack
public MidiTrack getTrack()
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
deepCopy
public java.lang.Object deepCopy()
- Specified by:
deepCopy
in interface Copyable
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface Editable
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.