|
Préférences
Moteurs de recherche
|
||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.4.2
javax.sound.midi
|
|||||||||||||||
| Constructor Summary | |
MidiEvent(MidiMessage message,
long tick)
Constructs a new MidiEvent. |
|
| Method Summary | |
MidiMessage |
getMessage()
Obtains the MIDI message contained in the event. |
long |
getTick()
Obtains the time-stamp for the event, in MIDI ticks |
void |
setTick(long tick)
Sets the time-stamp for the event, in MIDI ticks |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MidiEvent(MidiMessage message, long tick)
MidiEvent.
message - the MIDI message contained in the eventtick - the time-stamp for the event, in MIDI ticks| Method Detail |
public MidiMessage getMessage()
public void setTick(long tick)
tick - the new time-stamp, in MIDI tickspublic long getTick()