| Modifier and Type | Field and Description |
|---|---|
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides javax. Creates a new object of the same class and with the same contents as this object. |
| public int | getChannel()
Overrides javax. Obtains the MIDI channel associated with this event. |
| public void | setMessage(int command, int channel, int data1, int data2)
Overrides javax. Sets the short message parameters for a channel message which takes up to two data bytes. |
| channel | back to summary |
|---|---|
| pack-priv int channel | |
| SoftShortMessage | back to summary |
|---|---|
| public SoftShortMessage() | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides javax. Doc from javax. Creates a new object of the same class and with the same contents as this object.
| |
| getChannel | back to summary |
|---|---|
| public int getChannel() Overrides javax. Doc from javax. Obtains the MIDI channel associated with this event. This method assumes that the event is a MIDI channel message; if not, the return value will not be meaningful.
| |
| setMessage | back to summary |
|---|---|
| public void setMessage(int command, int channel, int data1, int data2) throws InvalidMidiDataException Overrides javax. Doc from javax. Sets the short message parameters for a channel message which takes up to two data bytes. If the message only takes one data byte, the second data byte is ignored; if the message does not take any data bytes, both data bytes are ignored.
| |