public class AbstractLookup extends AbstractWindow implements Window.Lookup
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEventWindow.Lookup.Handler, Window.Lookup.ValidatorWindow.BeforeCloseEvent, Window.BeforeCloseWithCloseButtonEvent, Window.BeforeCloseWithShortcutEvent, Window.CloseListener, Window.CloseOrigin, Window.CloseWithCommitListener, Window.Committable, Window.ContentSwitchMode, Window.Editor<T extends Entity>, Window.HasFoldersPane, Window.HasUserIndicator, Window.HasWorkArea, Window.Lookup<T extends Entity>, Window.TopLevelWindow, Window.WrapperFrame.MessageMode, Frame.MessageType, Frame.NotificationTypeExpandingLayout.ExpandDirectionComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProviderLookupScreen.ValidationContext<T extends Entity>frame, messages, UNKNOWN_CLOSE_ACTION_IDLOOKUP_ENTER_PRESSED_ACTION_ID, LOOKUP_ITEM_CLICK_ACTION_ID, NAMEBROWSE_WINDOW_SUFFIX, CLOSE_ACTION_ID, COMMIT_ACTION_ID, CREATE_WINDOW_SUFFIX, EDITOR_WINDOW_SUFFIX, LOOKUP_WINDOW_SUFFIX, SELECT_ACTION_IDAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELSLOOKUP_CANCEL_ACTION_ID, LOOKUP_SELECT_ACTION_ID, LOOKUP_SELECT_CLOSE_ACTIONNO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION| Constructor and Description |
|---|
AbstractLookup() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterInit(Screen.AfterInitEvent event) |
Component |
getLookupComponent() |
java.util.function.Consumer<java.util.Collection> |
getSelectHandler() |
java.util.function.Predicate<LookupScreen.ValidationContext> |
getSelectValidator() |
protected void |
initLookupActions(Screen.InitEvent event) |
void |
initLookupLayout()
INTERNAL.
|
protected void |
selectItemsOnClick(java.util.Collection collection) |
void |
setLookupComponent(Component lookupComponent)
Set component that is used to lookup entity instances.
|
void |
setSelectHandler(java.util.function.Consumer lookupHandler)
Sets selection handler for screen.
|
void |
setSelectValidator(java.util.function.Predicate lookupValidator)
Sets selection validator.
|
protected void |
setupCommitShortcut() |
protected void |
setupLookupComponent() |
add, add, addAction, addAction, addBeforeWindowCloseListener, addFacet, addStyleName, addTimer, afterShow, applySettings, beforeClose, closeWithDiscard, deleteSettings, expand, expand, formatMessage, getAction, getActions, getActionsPermissions, getAlignment, getCaption, getCompanion, getComponent, getComponent, getComponent, getComponents, getComposition, getContentSwitchMode, getContext, getDescription, getDialogOptions, getDsContext, getExpandDirection, getExpandRatio, getFacet, getFacets, getFocusComponent, getFrame, getFrameOwner, getHeight, getHeightSizeUnit, getIcon, getMargin, getMaxHeight, getMaxWidth, getMessage, getMessagesPack, getMinHeight, getMinWidth, getOwnComponent, getOwnComponents, getOwnComponentsStream, getParent, getScreenHashCode, getSettings, getSpacing, getStyleName, getTimer, getWidth, getWidthSizeUnit, getWindowManager, getWrappedFrame, getWrappedWindow, getXmlDescriptor, handleValidationErrors, hasUnsavedChanges, indexOf, init, init, isAttributeAccessControlEnabled, isCloseable, isEnabled, isEnabledRecursive, isExpanded, isResponsive, isSameScreen, isValid, isVisible, isVisibleRecursive, postValidate, preClose, ready, remove, removeAction, removeAction, removeAll, removeAllActions, removeBeforeWindowCloseListener, removeFacet, removeStyleName, resetExpanded, saveSettings, setAlignment, setCaption, setCloseable, setCompanion, setContentSwitchMode, setDescription, setDsContext, setEnabled, setExpandRatio, setFocusComponent, setFrame, setHeight, setIcon, setIconFromSet, setId, setMargin, setMaxHeight, setMaxWidth, setMessagesPack, setMinHeight, setMinWidth, setParent, setResponsive, setSpacing, setStyleName, setVisible, setWidth, setWindow, setXmlDescriptor, showValidationErrors, unwrap, unwrapComposition, validate, validate, validateAdditionalRules, validateAlladdAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, applyDataLoadingSettings, close, closeWithDefaultAction, fireEvent, getBeanLocator, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSaveScreenHistoryOnClose, isSaveSettingsOnClose, setBeanLocator, setExtensions, setScreenData, setUiEventListeners, showclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLookupHandler, getLookupValidator, setLookupHandler, setLookupValidatoraddBeforeCloseWithCloseButtonListener, addBeforeCloseWithShortcutListener, addBeforeWindowCloseListener, addCloseListener, addCloseWithCommitListener, addListener, addTimer, applySettings, close, close, closeAndRun, deleteSettings, getContext, getDialogOptions, getFocusComponent, getFrameOwner, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getSettings, getTimer, getWindowManager, isCloseable, removeBeforeCloseWithCloseButtonListener, removeBeforeCloseWithShortcutListener, removeBeforeWindowCloseListener, removeCloseListener, removeCloseWithCommitListener, removeListener, saveSettings, setCloseable, setFocusComponent, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, validate, validateAlladdFacet, getFacet, getFacetNN, getFacets, isValid, removeFacet, validateexpand, expand, getExpandDirection, isExpanded, resetExpandedadd, getComponent, getComponentNN, indexOfadd, add, focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream, remove, remove, removeAlladdStyleName, 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, unwrapCompositiongetFrame, setFramegetSpacing, setSpacinggetMargin, setMargin, setMargin, setMarginaddAction, addAction, getAction, getActionNN, getActions, getSubPart, removeAction, removeAction, removeAllActionsgetIcon, setIcon, setIconFromSetgetCaption, setCaptiongetDescription, setDescriptionopenEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openFrame, openFrame, openLookup, openLookup, openLookup, openLookup, openWindow, openWindow, showMessageDialog, showNotification, showNotification, showNotification, showOptionDialog, showOptionDialog, showWebPagegetExpandRatio, setExpandRatiogetCompanion, getContext, getDsContext, getMessagesPack, getXmlDescriptor, isValid, setDsContext, setMessagesPack, setXmlDescriptor, validate, validate, validateAllgetComponent, getCompositiongetWrappedFrameprotected void initLookupActions(Screen.InitEvent event)
protected void setupCommitShortcut()
protected void setupLookupComponent()
protected void afterInit(Screen.AfterInitEvent event)
public Component getLookupComponent()
getLookupComponent in interface Window.Lookuppublic void setLookupComponent(Component lookupComponent)
Window.LookupsetLookupComponent in interface Window.Lookuppublic void initLookupLayout()
Window.LookupinitLookupLayout in interface Window.Lookupprotected void selectItemsOnClick(java.util.Collection collection)
public java.util.function.Consumer<java.util.Collection> getSelectHandler()
getSelectHandler in interface LookupScreenpublic java.util.function.Predicate<LookupScreen.ValidationContext> getSelectValidator()
getSelectValidator in interface LookupScreenpublic void setSelectValidator(java.util.function.Predicate lookupValidator)
LookupScreensetSelectValidator in interface LookupScreenlookupValidator - selection validatorpublic void setSelectHandler(java.util.function.Consumer lookupHandler)
LookupScreensetSelectHandler in interface LookupScreenlookupHandler - selection handler