Class AddConditionView
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.flowui.view.StandardListView<FilterCondition>
io.jmix.flowui.app.filter.condition.AddConditionView
- 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
,LookupView<FilterCondition>
,MultiSelectLookupView
,Serializable
@Route(value="add-condition",
layout=DefaultMainViewParent.class)
@ViewController("flowui_AddConditionView")
@ViewDescriptor("add-condition-view.xml")
@DialogMode(width="25em",
height="37.5em")
public class AddConditionView
extends StandardListView<FilterCondition>
- 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.QueryParametersChangeEvent, View.ReadyEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected List<FilterCondition>
protected DropdownButton
protected Configuration
protected DialogWindows
protected FilterComponents
protected CollectionLoader<FilterCondition>
protected TreeDataGrid<FilterCondition>
protected MetaClass
protected List<FilterCondition>
protected Messages
protected MessageTools
protected Metadata
protected HeaderFilterCondition
protected List<FilterCondition>
Fields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addParentToExpand
(FilterCondition child) protected void
applyViewConfigurer
(View<?> detailView) protected Action
createDropdownButtonAction
(String detailViewId, Class modelClass) protected FilterCondition
createFilterCondition
(Class<? extends FilterCondition> modelClass) protected List<FilterCondition>
filterConditionsDlLoadDelegate
(LoadContext<FilterCondition> loadContext) protected void
findConditionsRecursively
(List<FilterCondition> conditions, String searchValue, boolean addChildrenAutomatically) protected HeaderFilterCondition
getHeaderFilterConditionByCaption
(String caption) protected void
protected void
protected void
onBeforeShow
(View.BeforeShowEvent event) protected void
onConditionFilterFieldValueChange
(SupportsTypedValue.TypedValueChangeEvent<TypedTextField<String>, String> event) protected void
protected void
protected List<FilterCondition>
searchChildren
(FilterCondition condition) protected List<FilterCondition>
searchRootConditions
(List<FilterCondition> conditions) void
setConditions
(List<FilterCondition> conditions) void
setCurrentFilterConfiguration
(Configuration currentFilterConfiguration) Methods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, lookupEnterPress, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItems
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
filterConditionsTreeDataGrid
-
filterConditionsDl
-
createConditionBtn
-
messages
-
filterComponents
-
accessManager
-
metadata
-
messageTools
-
dialogWindows
-
conditions
-
rootConditions
-
foundConditions
-
propertiesHeaderCondition
-
filterMetaClass
-
currentFilterConfiguration
-
-
Constructor Details
-
AddConditionView
public AddConditionView()
-
-
Method Details
-
getConditions
-
setConditions
-
searchRootConditions
-
getCurrentFilterConfiguration
-
setCurrentFilterConfiguration
-
filterConditionsDlLoadDelegate
@Install(to="filterConditionsDl", target=DATA_LOADER) protected List<FilterCondition> filterConditionsDlLoadDelegate(LoadContext<FilterCondition> loadContext) -
onBeforeShow
-
initFilterConditionsTreeDataGrid
protected void initFilterConditionsTreeDataGrid() -
initCreateConditionBtn
protected void initCreateConditionBtn() -
createDropdownButtonAction
-
createFilterCondition
-
applyViewConfigurer
-
onDetailViewAfterClose
-
getHeaderFilterConditionByCaption
-
onConditionFilterFieldValueChange
@Subscribe("conditionFilterField") protected void onConditionFilterFieldValueChange(SupportsTypedValue.TypedValueChangeEvent<TypedTextField<String>, String> event) -
search
-
findConditionsRecursively
protected void findConditionsRecursively(List<FilterCondition> conditions, String searchValue, boolean addChildrenAutomatically) -
searchChildren
-
addParentToExpand
-