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
Modifier and TypeInterfaceDescriptionstatic class
Validation data context. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final CloseAction
ACloseAction
used when the screen is closed after the user selected an item in the lookup component. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setSelectHandler
(Consumer<Collection<E>> selectHandler) Sets selection handler for screen.void
setSelectValidator
(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
ACloseAction
used 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
-