Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.dialog
Interface ListSelectionDialogBuilder.SelectionStep<T>
- Enclosing interface:
ListSelectionDialogBuilder<T>
public static interface ListSelectionDialogBuilder.SelectionStep<T>
Provides selection for single or multiple items.
-
Method Summary
-
Method Details
-
single
- Returns:
- the selected value,
Optional.empty()
if none was selected - Throws:
CancelException
- in case the user cancelled
-
multiple
Collection<T> multiple()- Returns:
- the selected values, an empty Collection if none was selected
- Throws:
CancelException
- in case the user cancelled
-