Package io.jmix.ui.screen
Interface LookupScreen<E>
- Type Parameters:
E- type of entity
- All Known Implementing Classes:
AddConditionScreen,AllTasksBrowse,BusinessCalendarBrowse,CategoryBrowse,ContentStorageBrowse,DashboardGroupBrowse,DmnDecisionTableLookup,EmailTemplateBrowse,EntityInspectorBrowser,EntityLogBrowser,EntityTreeLookup,FormFieldLookup,ImapFolderLookup,ImapMailBoxBrowse,ImapMessageBrowse,InAppNotificationBrowse,JobModelBrowse,MasterDetailScreen,MyTasksBrowse,PersistentDashboardBrowse,ProcessDefinitionBrowse,ProcessDefinitionLookup,ProcessInstanceBrowse,ReportBrowser,ReportExecutionBrowser,ReportExecutionDialog,ReportGroupBrowser,ReportRun,ResourceRoleModelBrowse,ResourceRoleModelLookup,RowLevelRoleModelBrowse,RowLevelRoleModelLookup,SendingMessageAttachments,StandardLookup,StartProcessScreen,TemplateBlockBrowse,TemplateBlockGroupBrowse,TemplateGroupBrowse,TenantBrowse,UserGroupBrowse,UserSessionsBrowse,WebdavDocumentBrowse,WebdavShowDocumentVersionBrowse,WidgetTemplateBrowse,WidgetTemplateGroupBrowse
public interface LookupScreen<E>
Interface for lookup screen controllers.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classValidation data context. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final CloseActionACloseActionused when the screen is closed after the user selected an item in the lookup component. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSelectHandler(Consumer<Collection<E>> selectHandler) Sets selection handler for screen.voidsetSelectValidator(Predicate<LookupScreen.ValidationContext<E>> selectValidator) Sets selection validator.
-
Field Details
-
LOOKUP_SELECT_ACTION_ID
- See Also:
-
LOOKUP_CANCEL_ACTION_ID
- See Also:
-
LOOKUP_ITEM_CLICK_ACTION_ID
- See Also:
-
LOOKUP_ENTER_PRESSED_ACTION_ID
- See Also:
-
LOOKUP_SELECT_CLOSE_ACTION
ACloseActionused when the screen is closed after the user selected an item in the lookup component.
-
-
Method Details
-
getSelectHandler
- Returns:
- selection handler
-
setSelectHandler
Sets selection handler for screen.- Parameters:
selectHandler- selection handler
-
getSelectValidator
Predicate<LookupScreen.ValidationContext<E>> getSelectValidator()- Returns:
- selection validator
-
setSelectValidator
Sets selection validator.- Parameters:
selectValidator- selection validator
-