public class MidiEvent extends Object
| Constructor and Description | 
|---|
| MidiEvent(MidiMessage message, long tick)
              构建新的 
              MidiEvent。 | 
| Modifier and Type | Method and Description | 
|---|---|
| MidiMessage | getMessage()
              获取事件中包含的MIDI消息。 
             | 
| long | getTick()
              获取事件的时间戳,以MIDI刻度 
             | 
| void | setTick(long tick)
              以MIDI刻度设置事件的时间戳 
             | 
public MidiEvent(MidiMessage message, long tick)
MidiEvent 。 
          message - 事件中包含的MIDI消息 
           tick - 事件的时间戳,以MIDI刻度表示 
           public MidiMessage getMessage()
public void setTick(long tick)
tick - 新的时间戳,在MIDI刻度 
           public long getTick()
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.