Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
class: FastShortMessage [javadoc | source]
java.lang.Object
   javax.sound.midi.MidiMessage
      javax.sound.midi.ShortMessage
         com.sun.media.sound.FastShortMessage

All Implemented Interfaces:
    Cloneable

an optimized ShortMessage that does not need an array
Fields inherited from javax.sound.midi.ShortMessage:
MIDI_TIME_CODE,  SONG_POSITION_POINTER,  SONG_SELECT,  TUNE_REQUEST,  END_OF_EXCLUSIVE,  TIMING_CLOCK,  START,  CONTINUE,  STOP,  ACTIVE_SENSING,  SYSTEM_RESET,  NOTE_OFF,  NOTE_ON,  POLY_PRESSURE,  CONTROL_CHANGE,  PROGRAM_CHANGE,  CHANNEL_PRESSURE,  PITCH_BEND
Fields inherited from javax.sound.midi.MidiMessage:
data,  length
Constructor:
 public FastShortMessage(int packedMsg) throws InvalidMidiDataException 
 public FastShortMessage(ShortMessage msg) 
    Creates a FastShortMessage from this ShortMessage
Method from com.sun.media.sound.FastShortMessage Summary:
clone,   getChannel,   getCommand,   getData1,   getData2,   getLength,   getMessage,   getPackedMsg,   getStatus,   setMessage,   setMessage,   setMessage
Methods from javax.sound.midi.ShortMessage:
clone,   getChannel,   getCommand,   getData1,   getData2,   getDataLength,   setMessage,   setMessage,   setMessage
Methods from javax.sound.midi.MidiMessage:
clone,   getLength,   getMessage,   getStatus,   setMessage
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.FastShortMessage Detail:
 public Object clone() 
    Creates a new object of the same class and with the same contents as this object.
 public int getChannel() 
 public int getCommand() 
 public int getData1() 
 public int getData2() 
 public int getLength() 
 public byte[] getMessage() 
 int getPackedMsg() 
 public int getStatus() 
 public  void setMessage(int status) throws InvalidMidiDataException 
 public  void setMessage(int status,
    int data1,
    int data2) throws InvalidMidiDataException 
 public  void setMessage(int command,
    int channel,
    int data1,
    int data2) throws InvalidMidiDataException