Package io.jmix.ui.component
Interface LookupComponent<E>
- All Superinterfaces:
Component
- All Known Subinterfaces:
DataGrid<E>
,EntityComboBox<V>
,EntityPicker<V>
,EntitySuggestionField<V>
,GroupTable<E>
,LookupComponent.LookupSelectionChangeNotifier<T>
,Table<E>
,Tree<E>
,TreeDataGrid<E>
,TreeTable<E>
- All Known Implementing Classes:
AbstractDataGrid
,AbstractTable
,DataGridImpl
,EntityComboBoxImpl
,EntityPickerImpl
,EntitySuggestionFieldImpl
,GroupTableImpl
,TableImpl
,TreeDataGridImpl
,TreeImpl
,TreeTableImpl
A component which can be set as lookup component for a screen.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static interface
Component that firesLookupComponent.LookupSelectionChangeEvent
when lookup selected items set is changed.Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
-
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setLookupSelectHandler
(Consumer<Collection<E>> selectHandler) Methods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
-
Method Details
-
setLookupSelectHandler
- Parameters:
selectHandler
- handler that should be executed when a user select an item in the lookup screen
-
getLookupSelectedItems
Collection<E> getLookupSelectedItems()- Returns:
- items selected in lookup component
-