com.jamesbryangraves.bob.midi
Class BobMidiDevice

java.lang.Object
  extended by com.jamesbryangraves.bob.midi.BobMidiDevice
All Implemented Interfaces:
javax.sound.midi.MidiDevice

public abstract class BobMidiDevice
extends java.lang.Object
implements javax.sound.midi.MidiDevice


Nested Class Summary
static class BobMidiDevice.Info
           
 
Constructor Summary
BobMidiDevice()
           
 
Method Summary
 void close()
           
 java.lang.String getDescription()
           
 javax.sound.midi.MidiDevice.Info getDeviceInfo()
           
 int getMaxReceivers()
           
 int getMaxTransmitters()
           
 long getMicrosecondPosition()
           
 java.lang.String getName()
           
 javax.sound.midi.Receiver getReceiver()
           
 java.util.List<javax.sound.midi.Receiver> getReceivers()
           
 javax.sound.midi.Transmitter getTransmitter()
           
 java.util.List<javax.sound.midi.Transmitter> getTransmitters()
           
 java.lang.String getVendor()
           
 java.lang.String getVersion()
           
 boolean isOpen()
           
 void open()
           
 void setDescription(java.lang.String description)
           
 void setMaxReceivers(int maxReceivers)
           
 void setMaxTransmitters(int maxTransmitters)
           
 void setName(java.lang.String name)
           
 void setReceiver(javax.sound.midi.Receiver receiver)
           
 void setReceivers(java.util.List<javax.sound.midi.Receiver> receivers)
           
 void setTransmitter(javax.sound.midi.Transmitter transmitter)
           
 void setTransmitters(java.util.List<javax.sound.midi.Transmitter> transmitters)
           
 void setVendor(java.lang.String vendor)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BobMidiDevice

public BobMidiDevice()
Method Detail

close

public void close()
Specified by:
close in interface javax.sound.midi.MidiDevice

getDeviceInfo

public javax.sound.midi.MidiDevice.Info getDeviceInfo()
Specified by:
getDeviceInfo in interface javax.sound.midi.MidiDevice

getMaxReceivers

public int getMaxReceivers()
Specified by:
getMaxReceivers in interface javax.sound.midi.MidiDevice

getMaxTransmitters

public int getMaxTransmitters()
Specified by:
getMaxTransmitters in interface javax.sound.midi.MidiDevice

getMicrosecondPosition

public long getMicrosecondPosition()
Specified by:
getMicrosecondPosition in interface javax.sound.midi.MidiDevice

getReceiver

public javax.sound.midi.Receiver getReceiver()
Specified by:
getReceiver in interface javax.sound.midi.MidiDevice

getTransmitter

public javax.sound.midi.Transmitter getTransmitter()
Specified by:
getTransmitter in interface javax.sound.midi.MidiDevice

getTransmitters

public java.util.List<javax.sound.midi.Transmitter> getTransmitters()
Specified by:
getTransmitters in interface javax.sound.midi.MidiDevice

isOpen

public boolean isOpen()
Specified by:
isOpen in interface javax.sound.midi.MidiDevice

open

public void open()
          throws javax.sound.midi.MidiUnavailableException
Specified by:
open in interface javax.sound.midi.MidiDevice
Throws:
javax.sound.midi.MidiUnavailableException

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getVendor

public java.lang.String getVendor()

setVendor

public void setVendor(java.lang.String vendor)

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)

setMaxReceivers

public void setMaxReceivers(int maxReceivers)

setMaxTransmitters

public void setMaxTransmitters(int maxTransmitters)

getReceivers

public java.util.List<javax.sound.midi.Receiver> getReceivers()
Specified by:
getReceivers in interface javax.sound.midi.MidiDevice

setReceivers

public void setReceivers(java.util.List<javax.sound.midi.Receiver> receivers)

setReceiver

public void setReceiver(javax.sound.midi.Receiver receiver)

setTransmitter

public void setTransmitter(javax.sound.midi.Transmitter transmitter)

setTransmitters

public void setTransmitters(java.util.List<javax.sound.midi.Transmitter> transmitters)


Copyright © 2007. All Rights Reserved.