|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcaas.midi.Instrument
public class Instrument
Instrument represents the instrument a staff is played with.
Constructor Summary | |
---|---|
Instrument(int i)
Standard Constructor |
Method Summary | |
---|---|
int |
getInstrument()
Returns the Instrument this object represents |
java.lang.String |
toString()
Overwrite for the toString method, returns the string representation of this instrument. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Instrument(int i)
i
- the instrument this object represents.Method Detail |
---|
public int getInstrument()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |