public interface LookupComponent<E extends Entity> extends Component
Modifier and Type | Interface and Description |
---|---|
static class |
LookupComponent.LookupSelectionChangeEvent<T extends Entity> |
static interface |
LookupComponent.LookupSelectionChangeNotifier<T extends Entity>
Component that fires
LookupComponent.LookupSelectionChangeEvent when lookup selected items set is changed. |
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.Wrapper
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
java.util.Collection<E> |
getLookupSelectedItems() |
void |
setLookupSelectHandler(java.util.function.Consumer<java.util.Collection<E>> selectHandler) |
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
void setLookupSelectHandler(java.util.function.Consumer<java.util.Collection<E>> selectHandler)
selectHandler
- handler that should be executed when a user select an item in the lookup screenjava.util.Collection<E> getLookupSelectedItems()