Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityDialogs.EntitySelectionDialogBuilder.SelectionStep
- Enclosing interface:
EntityDialogs.EntitySelectionDialogBuilder
public static interface EntityDialogs.EntitySelectionDialogBuilder.SelectionStep
Provides selection for single or multiple entities.
-
Method Summary
Modifier and TypeMethodDescriptionmultiple()
Displays theEntityTablePanel
for selecting one or more entitiessingle()
Displays theEntityTablePanel
for selecting a single entity
-
Method Details
-
multiple
Displays theEntityTablePanel
for selecting one or more entities- Returns:
- a List containing the selected entities or an empty list in case the selection was cancelled
- Throws:
CancelException
- in case the selection was cancelled
-
single
Displays theEntityTablePanel
for selecting a single entity- Returns:
- the selected entity or
Optional.empty()
- Throws:
CancelException
- in case the selection was cancelled
-