|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfugue.Instrument
public class Instrument
Represents instrument changes, also known as patch changes.
| Field Summary | |
|---|---|
static java.lang.String[] |
INSTRUMENT_NAME
|
| Constructor Summary | |
|---|---|
Instrument(byte instrument)
Creates a new Instrument object, with the specified instrument number. |
|
| Method Summary | |
|---|---|
byte |
getInstrument()
Returns the instrument used in this object |
java.lang.String |
getMusicString()
Returns the Music String representing this element and all of its settings. |
void |
setInstrument(byte instrument)
Sets the value of the instrument for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] INSTRUMENT_NAME
| Constructor Detail |
|---|
public Instrument(byte instrument)
instrument - the number of the instrument to use| Method Detail |
|---|
public void setInstrument(byte instrument)
instrument - the number of the instrument to usepublic byte getInstrument()
public java.lang.String getMusicString()
Iinstrument-number
getMusicString in interface JFugueElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||