jazz.core
Class ManipulationPitch

java.lang.Object
  |
  +--jazz.core.ManipulationPitch
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class ManipulationPitch
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
protected  Device device
           
protected  int index
           
protected  boolean start
           
 
Constructor Summary
ManipulationPitch(Device d, int index, boolean start)
           
 
Method Summary
 void adjustOctave(int octaveOffset)
           
 boolean canStart()
           
 java.lang.Object clone()
           
 void setCanStart(boolean start)
           
 void setDevice(Device d)
           
 void setIndex(int i)
           
 Pitch toPitch()
          Cast to a regular pitch.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected int index

start

protected boolean start

device

protected Device device
Constructor Detail

ManipulationPitch

public ManipulationPitch(Device d,
                         int index,
                         boolean start)
Method Detail

toPitch

public Pitch toPitch()
Cast to a regular pitch. Note that this is a copy, not a reference.

adjustOctave

public void adjustOctave(int octaveOffset)

setDevice

public void setDevice(Device d)

setIndex

public void setIndex(int i)

canStart

public boolean canStart()

setCanStart

public void setCanStart(boolean start)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object