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

All Implemented Interfaces:
    MidiDeviceTransmitter

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