Class EntityTreeComposite
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
io.jmix.reportsflowui.view.reportwizard.EntityTreeComposite
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class EntityTreeComposite
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
implements org.springframework.context.ApplicationContextAware, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasEnabled, org.springframework.beans.factory.InitializingBean, com.vaadin.flow.component.HasComponents
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected booleanprotected DataComponentsprotected TreeDataGrid<EntityTreeNode>protected com.vaadin.flow.component.formlayout.FormLayoutprotected MessageBundleprotected Messagesprotected Metadataprotected MetadataToolsprotected Comparator<EntityTreeNode>protected Notificationsprotected booleanprotected CollectionContainer<EntityTreeNode>protected CollectionLoader<EntityTreeNode>protected com.vaadin.flow.component.textfield.TextFieldprotected EntityTreeNodeprotected booleanprotected UiComponents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidfill(EntityTreeNode parentNode, String searchValue, List<EntityTreeNode> result) protected voidfill(EntityTreeNode parentNode, List<EntityTreeNode> result) protected voidprotected com.vaadin.flow.component.formlayout.FormLayoutprotected booleanisSuitable(String searchValue, EntityTreeNode child) protected booleanisSuitableRecursively(String searchValue, EntityTreeNode node) protected booleanneedToShowProperty(EntityTreeNode childNode, EntityTreeNode parentNode) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetCollectionsOnly(boolean collectionsOnly) voidsetParameters(EntityTreeNode rootEntity, boolean scalarOnly, boolean collectionsOnly, boolean persistentOnly) voidsetPersistentOnly(boolean persistentOnly) voidsetRootEntity(EntityTreeNode rootEntity) voidsetScalarOnly(boolean scalarOnly) Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, 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.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
entityTree
-
rootEntity
-
uiComponents
-
dataComponents
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
reportEntityTreeNodeDl
-
reportPropertyName
protected com.vaadin.flow.component.textfield.TextField reportPropertyName -
notifications
-
metadataTools
-
formLayout
protected com.vaadin.flow.component.formlayout.FormLayout formLayout -
messageBundle
-
messages
-
metadata
-
reportEntityTreeNodeDc
-
scalarOnly
protected boolean scalarOnly -
collectionsOnly
protected boolean collectionsOnly -
persistentOnly
protected boolean persistentOnly -
nodeComparator
-
-
Constructor Details
-
EntityTreeComposite
public EntityTreeComposite()
-
-
Method Details
-
getEntityTree
-
setParameters
public void setParameters(EntityTreeNode rootEntity, boolean scalarOnly, boolean collectionsOnly, boolean persistentOnly) -
setScalarOnly
public void setScalarOnly(boolean scalarOnly) -
setCollectionsOnly
public void setCollectionsOnly(boolean collectionsOnly) -
setPersistentOnly
public void setPersistentOnly(boolean persistentOnly) -
initContent
protected com.vaadin.flow.component.formlayout.FormLayout initContent()- Overrides:
initContentin classcom.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
initComponent
protected void initComponent() -
fill
-
needToShowProperty
-
isSuitable
-
isSuitableRecursively
-
fill
-
setRootEntity
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-