uk.org.toot.midi.core
Class DefaultMidiSystem

java.lang.Object
  extended by java.util.Observable
      extended by uk.org.toot.midi.core.DefaultMidiSystem
All Implemented Interfaces:
MidiSystem, IObservable
Direct Known Subclasses:
DefaultConnectedMidiSystem

public class DefaultMidiSystem
extends java.util.Observable
implements MidiSystem


Constructor Summary
DefaultMidiSystem()
           
 
Method Summary
 void addMidiDevice(MidiDevice device)
           
 void close()
          Close all MidiDevices
 java.util.List<MidiDevice> getMidiDevices()
           
 java.util.List<MidiInput> getMidiInputs()
           
 java.util.List<MidiOutput> getMidiOutputs()
           
 void removeMidiDevice(MidiDevice device)
           
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.org.toot.misc.IObservable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 

Constructor Detail

DefaultMidiSystem

public DefaultMidiSystem()
Method Detail

addMidiDevice

public void addMidiDevice(MidiDevice device)
Specified by:
addMidiDevice in interface MidiSystem

removeMidiDevice

public void removeMidiDevice(MidiDevice device)
Specified by:
removeMidiDevice in interface MidiSystem

getMidiDevices

public java.util.List<MidiDevice> getMidiDevices()
Specified by:
getMidiDevices in interface MidiSystem

getMidiInputs

public java.util.List<MidiInput> getMidiInputs()
Specified by:
getMidiInputs in interface MidiSystem

getMidiOutputs

public java.util.List<MidiOutput> getMidiOutputs()
Specified by:
getMidiOutputs in interface MidiSystem

close

public void close()
Description copied from interface: MidiSystem
Close all MidiDevices

Specified by:
close in interface MidiSystem


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.