Class MidiOutDeviceList

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class MidiOutDeviceList extends JList<MidiDevice>
A specialized JList to display system's OUT MidiDevices, including the Java internal synth.
See Also:
  • Constructor Details

    • MidiOutDeviceList

      public MidiOutDeviceList()
      List contains all the MidiSystem MidiOutDevice instances.
    • MidiOutDeviceList

      public MidiOutDeviceList(Predicate<MidiDevice> tester)
      List contains all the MidiSystem MidiOutDevice instances which satisfy tester.
      Parameters:
      tester -
  • Method Details

    • getOutDevices

      public List<MidiDevice> getOutDevices()
    • rescanMidiDevices

      public final void rescanMidiDevices()
      Rescan the available OUT MidiDevices on the system and update the list accordingly.

      Any selection is cleared. If the Java default synth is present, make it the first on the list.