Package io.jmix.flowui.screen
Interface LookupScreen<E>
- All Known Implementing Classes:
StandardLookup
public interface LookupScreen<E>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setSelectionHandler
(Consumer<Collection<E>> selectionHandler) void
setSelectionValidator
(Predicate<LookupScreen.ValidationContext<E>> selectionValidator)
-
Method Details
-
handleSelection
OperationResult handleSelection() -
closeWithDiscard
OperationResult closeWithDiscard() -
getLookupComponent
LookupComponent<E> getLookupComponent() -
findLookupComponent
Optional<LookupComponent<E>> findLookupComponent() -
getSelectionHandler
Optional<Consumer<Collection<E>>> getSelectionHandler() -
setSelectionHandler
-
getSelectionValidator
Optional<Predicate<LookupScreen.ValidationContext<E>>> getSelectionValidator() -
setSelectionValidator
void setSelectionValidator(@Nullable Predicate<LookupScreen.ValidationContext<E>> selectionValidator)
-