Package heronarts.lx.midi
Interface LXMidiTerminal
- All Known Subinterfaces:
LXMidiDestination
,LXMidiSource
- All Known Implementing Classes:
LXMidiDevice
,LXMidiInput
,LXMidiOutput
public interface LXMidiTerminal
Base level abstraction for a Midi object, which can be a source or destination either
of the real hardware variety (subclasses of LXMidiDevice) or of a virtual variety,
such as those in the LXMidiSource and LXMidiDestination interfaces
-
Method Summary
Modifier and TypeMethodDescriptiondefault LXMidiDevice
Retrieves the midi device associated with the terminal, if there is one.default String
getName()
Returns the midi terminal name
-
Method Details
-
getMidiDevice
Retrieves the midi device associated with the terminal, if there is one. May be null if this is a virtual terminal, like LXMidiSource.UNKNOWN- Returns:
- Midi device, if available
-
getName
Returns the midi terminal name- Returns:
- Name
-