Interface MultiInput.MultiValueSource<T>

Type Parameters:
T - the value type
Enclosing class:
MultiInput<C extends JComponent,T>

public static interface MultiInput.MultiValueSource<T>
Implemented by the ComponentValue of a wrapped component able to supply several values at a time. These go straight to the values collected, not through the component, whose own value is left as it is.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called once by the MultiInput wrapping the component.
  • Method Details

    • collector

      void collector(Consumer<Collection<T>> collector)
      Called once by the MultiInput wrapping the component.
      Parameters:
      collector - adds several values at a time, those already collected ignored, on the Event Dispatch Thread only