Module is.codion.swing.common.ui
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 TypeMethodDescriptionvoidcollector(Consumer<Collection<T>> collector) Called once by theMultiInputwrapping the component.
-
Method Details
-
collector
Called once by theMultiInputwrapping the component.- Parameters:
collector- adds several values at a time, those already collected ignored, on the Event Dispatch Thread only
-