uk.org.toot.midi.core
Class DefaultConnectedMidiSystem

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

public class DefaultConnectedMidiSystem
extends DefaultMidiSystem
implements ConnectedMidiSystem

This class adds a composition of MidiConnections to the composition of MidiDevices.


Constructor Summary
DefaultConnectedMidiSystem()
           
 
Method Summary
 void closeMidiConnection(MidiOutput from, MidiInput to)
           
 void closeMidiConnection(java.lang.String fromPortName, java.lang.String toPortName)
           
 void createMidiConnection(MidiOutput from, MidiInput to, int flags)
           
 void createMidiConnection(java.lang.String fromPortName, java.lang.String toPortName, int flags)
           
 java.util.List<MidiConnection> getMidiConnections()
           
 void notifyObservers()
           
 
Methods inherited from class uk.org.toot.midi.core.DefaultMidiSystem
addMidiDevice, close, getMidiDevices, getMidiInputs, getMidiOutputs, removeMidiDevice
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.org.toot.midi.core.MidiSystem
addMidiDevice, close, getMidiDevices, getMidiInputs, getMidiOutputs, removeMidiDevice
 
Methods inherited from interface uk.org.toot.misc.IObservable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers
 

Constructor Detail

DefaultConnectedMidiSystem

public DefaultConnectedMidiSystem()
Method Detail

notifyObservers

public void notifyObservers()
Specified by:
notifyObservers in interface IObservable
Overrides:
notifyObservers in class java.util.Observable

getMidiConnections

public java.util.List<MidiConnection> getMidiConnections()
Specified by:
getMidiConnections in interface ConnectedMidiSystem

createMidiConnection

public void createMidiConnection(MidiOutput from,
                                 MidiInput to,
                                 int flags)
Specified by:
createMidiConnection in interface ConnectedMidiSystem

closeMidiConnection

public void closeMidiConnection(MidiOutput from,
                                MidiInput to)
Specified by:
closeMidiConnection in interface ConnectedMidiSystem

createMidiConnection

public void createMidiConnection(java.lang.String fromPortName,
                                 java.lang.String toPortName,
                                 int flags)
Specified by:
createMidiConnection in interface ConnectedMidiSystem

closeMidiConnection

public void closeMidiConnection(java.lang.String fromPortName,
                                java.lang.String toPortName)
Specified by:
closeMidiConnection in interface ConnectedMidiSystem


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