Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: MidiDeviceReceiverEnvelope [javadoc | source]
java.lang.Object
   com.sun.media.sound.MidiDeviceReceiverEnvelope

All Implemented Interfaces:
    MidiDeviceReceiver

Helper class which allows to convert {@code Receiver} to {@code MidiDeviceReceiver}.
Constructor:
 public MidiDeviceReceiverEnvelope(MidiDevice device,
    Receiver receiver) 
    Creates a new {@code MidiDeviceReceiverEnvelope} object which envelops the specified {@code Receiver} and is owned by the specified {@code MidiDevice}.
    Parameters:
    device - the owner {@code MidiDevice}
    receiver - the {@code Receiver} to be enveloped
Method from com.sun.media.sound.MidiDeviceReceiverEnvelope Summary:
close,   getMidiDevice,   getReceiver,   send
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.MidiDeviceReceiverEnvelope Detail:
 public  void close() 
 public MidiDevice getMidiDevice() 
 public Receiver getReceiver() 
    Obtains the receiver enveloped by this {@code MidiDeviceReceiverEnvelope} object.
 public  void send(MidiMessage message,
    long timeStamp)