Class SearchFieldSettingsView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.searchflowui.view.settings.SearchFieldSettingsView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,FragmentOwner,Serializable
@Route(value="search-field-settings-view",
layout=DefaultMainViewParent.class)
@ViewController("SearchFieldSettingsView")
@ViewDescriptor("search-field-settings-view.xml")
@DialogMode(width="30em")
public class SearchFieldSettingsView
extends StandardView
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IndexConfigurationManagerprotected Messagesprotected JmixMultiSelectComboBox<String>protected JmixIntegerFieldprotected SearchStrategyProvider<? extends SearchStrategy>protected com.vaadin.flow.component.select.Select<String>protected SearchStrategyUtils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetLocalizedStrategyName(String strategyName) intvoidinitSettingsValues(String initialSearchStrategy, int initialSearchSize, List<String> initialSearchEntities) protected booleanisSearchStrategyVisible(SearchStrategy searchStrategy) voidvoidonInit(View.InitEvent event) voidonSaveAction(ActionPerformedEvent event) Methods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
searchEntitiesComboBox
-
searchStrategySelector
-
searchSizeField
-
searchStrategyProvider
-
indexConfigurationManager
-
messages
-
searchStrategyUtils
-
availableSearchStrategyNames
-
-
Constructor Details
-
SearchFieldSettingsView
public SearchFieldSettingsView()
-
-
Method Details
-
onInit
-
initSettingsValues
-
getSelectedSearchStrategy
-
getSelectedSearchSize
public int getSelectedSearchSize() -
getSelectedSearchEntities
-
onSaveAction
-
onCloseAction
-
getLocalizedStrategyName
-
isSearchStrategyVisible
-