jm.midi.event

## Interface Event

- All Known Subinterfaces:
    SysComEvt, VoiceEvt
  All Known Implementing Classes:
    ATouch, CChange, CPres, EndTrack, KeySig, NoteOff, NoteOn, PChange, PWheel, SysEx, TempoEvent, TimeSig

      public interface Event

  The Event interface is the public interface for ALL MIDI event classes.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Event` | `copy()` Makes a copy of an event
    `short` | `getID()` Retrieve an events id
    `int` | `getTime()` Retrieve an events time
    `void` | `print()` Print this events data in a System.out.println format
    `int` | `read(java.io.DataInputStream dis)` read in event data from disk
    `void` | `setTime(int time)` Set an events time
    `int` | `write(java.io.DataOutputStream dos)` write out event data to disk

- - ### Method Detail

    - #### getTime

          int getTime()

      Retrieve an events time

    - #### setTime

          void setTime(int time)

      Set an events time

    - #### getID

          short getID()

      Retrieve an events id

    - #### copy

          Event copy()
                     throws java.lang.CloneNotSupportedException

      Makes a copy of an event
      Throws:
        `java.lang.CloneNotSupportedException`

    - #### print

          void print()

      Print this events data in a System.out.println format

    - #### write

          int write(java.io.DataOutputStream dos)
                    throws java.io.IOException

      write out event data to disk
      Throws:
        `java.io.IOException`

    - #### read

          int read(java.io.DataInputStream dis)
                   throws java.io.IOException

      read in event data from disk
      Throws:
        `java.io.IOException`