Module is.codion.swing.framework.ui
Interface EntitySearchField.Selector
- All Known Subinterfaces:
EntitySearchField.ListSelector,EntitySearchField.TableSelector
- Enclosing class:
- EntitySearchField
public static interface EntitySearchField.Selector
Provides a way for the user to select one or more of a given set of entities
-
Method Summary
Modifier and TypeMethodDescriptionvoidpreferredSize(Dimension preferredSize) Sets the preferred size of the selection component.voidselect(JComponent dialogOwner, List<is.codion.framework.domain.entity.Entity> entities) Displays a dialog for selecting from the given entities.
-
Method Details
-
select
Displays a dialog for selecting from the given entities.- Parameters:
dialogOwner- the dialog ownerentities- the entities to select from
-
preferredSize
Sets the preferred size of the selection component.- Parameters:
preferredSize- the preferred selection component size
-