Package io.jmix.ui.component
Interface LookupComponent.LookupSelectionChangeNotifier<T>
- All Superinterfaces:
Component
,LookupComponent<T>
- All Known Implementing Classes:
AbstractDataGrid
,AbstractTable
,DataGridImpl
,GroupTableImpl
,TableImpl
,TreeDataGridImpl
,TreeImpl
,TreeTableImpl
- Enclosing interface:
- LookupComponent<E>
Component that fires
LookupComponent.LookupSelectionChangeEvent
when lookup selected items set is changed.-
Nested Class Summary
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
Nested classes/interfaces inherited from interface io.jmix.ui.component.LookupComponent
LookupComponent.LookupSelectionChangeEvent<T>, LookupComponent.LookupSelectionChangeNotifier<T>
-
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionAdds a listener that invoked when lookup selected items set is changed.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
Methods inherited from interface io.jmix.ui.component.LookupComponent
getLookupSelectedItems, setLookupSelectHandler
-
Method Details
-
addLookupValueChangeListener
Subscription addLookupValueChangeListener(Consumer<LookupComponent.LookupSelectionChangeEvent<T>> listener) Adds a listener that invoked when lookup selected items set is changed.- Parameters:
listener
- a listener to add- Returns:
Subscription
-