Class MidiSelector<T extends LXMidiTerminal>

All Implemented Interfaces:
LXPath, LXParameter
Direct Known Subclasses:
MidiSelector.Destination, MidiSelector.Source

public abstract class MidiSelector<T extends LXMidiTerminal> extends AggregateParameter
  • Field Details

  • Constructor Details

    • MidiSelector

      protected MidiSelector(String label)
  • Method Details

    • updateInputs

      protected static void updateInputs(List<LXMidiInput> inputs)
    • updateOutputs

      protected static void updateOutputs(List<LXMidiOutput> outputs)
    • getMidiLabel

      protected abstract String getMidiLabel()
    • getMidiTerminals

      protected abstract T[] getMidiTerminals()
    • updateSubparameters

      protected void updateSubparameters(double value)
      Description copied from class: AggregateParameter
      Subclasses should update the subparameter values based upon the raw parameter value if it has been set directly.
      Specified by:
      updateSubparameters in class AggregateParameter
    • onSubparameterUpdate

      protected void onSubparameterUpdate(LXParameter p)
      Description copied from class: AggregateParameter
      Subclasses should update the main parameter value when a sub-parameter has changed
      Specified by:
      onSubparameterUpdate in class AggregateParameter
      Parameters:
      p - Subparameter that has changed
    • dispose

      public void dispose()
      Description copied from interface: LXParameter
      Invoked when the parameter is done being used and none of its resources are needed anymore.
      Specified by:
      dispose in interface LXParameter
      Overrides:
      dispose in class AggregateParameter