Package io.jmix.dynattrflowui.impl
Class FormEmbeddingStrategy
java.lang.Object
io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
io.jmix.dynattrflowui.impl.FormEmbeddingStrategy
- All Implemented Interfaces:
EmbeddingStrategy
@Component("dynat_FormEmbeddingStrategy")
public class FormEmbeddingStrategy
extends BaseEmbeddingStrategy
-
Field Summary
Fields inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
accessManager, dynAttrMetadata, metadata, metadataTools
-
Constructor Summary
ModifierConstructorDescriptionprotected
FormEmbeddingStrategy
(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, UiComponentsGenerator uiComponentsGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttributeComponent
(JmixFormLayout form, AttributeDefinition attribute) calculateAutoSize
(com.vaadin.flow.component.formlayout.FormLayout form, com.vaadin.flow.component.Component component) protected void
embed
(com.vaadin.flow.component.Component component, View<?> view, List<AttributeDefinition> attributes) protected MetaClass
getEntityMetaClass
(com.vaadin.flow.component.Component component) protected void
setLoadDynamicAttributes
(com.vaadin.flow.component.Component component) protected void
setWidth
(com.vaadin.flow.component.formlayout.FormLayout form, com.vaadin.flow.component.HasSize component, AttributeDefinition attributeDefinition) boolean
supportComponent
(com.vaadin.flow.component.Component component) Methods inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
checkPermissions, embed, findVisibleAttributes, getWindowId, isVisibleAttribute, setLoadDynamicAttributes
-
Field Details
-
uiComponentsGenerator
-
-
Constructor Details
-
FormEmbeddingStrategy
protected FormEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, UiComponentsGenerator uiComponentsGenerator)
-
-
Method Details
-
supportComponent
public boolean supportComponent(com.vaadin.flow.component.Component component) -
embed
protected void embed(com.vaadin.flow.component.Component component, View<?> view, List<AttributeDefinition> attributes) - Specified by:
embed
in classBaseEmbeddingStrategy
-
getEntityMetaClass
- Specified by:
getEntityMetaClass
in classBaseEmbeddingStrategy
-
setLoadDynamicAttributes
protected void setLoadDynamicAttributes(com.vaadin.flow.component.Component component) - Specified by:
setLoadDynamicAttributes
in classBaseEmbeddingStrategy
-
addAttributeComponent
-
setWidth
protected void setWidth(com.vaadin.flow.component.formlayout.FormLayout form, com.vaadin.flow.component.HasSize component, AttributeDefinition attributeDefinition) -
calculateAutoSize
-