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
FieldsFields inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
accessManager, dynAttrMetadata, metadata, metadataTools -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFormEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, UiComponentsGenerator uiComponentsGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAttributeComponent(JmixFormLayout form, AttributeDefinition attribute) calculateAutoSize(com.vaadin.flow.component.formlayout.FormLayout form, com.vaadin.flow.component.Component component) protected voidembed(com.vaadin.flow.component.Component component, View<?> view, List<AttributeDefinition> attributes) protected MetaClassgetEntityMetaClass(com.vaadin.flow.component.Component component) protected voidsetLoadDynamicAttributes(com.vaadin.flow.component.Component component) protected voidsetWidth(com.vaadin.flow.component.formlayout.FormLayout form, com.vaadin.flow.component.HasSize component, AttributeDefinition attributeDefinition) booleansupportComponent(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:
embedin classBaseEmbeddingStrategy
-
getEntityMetaClass
- Specified by:
getEntityMetaClassin classBaseEmbeddingStrategy
-
setLoadDynamicAttributes
protected void setLoadDynamicAttributes(com.vaadin.flow.component.Component component) - Specified by:
setLoadDynamicAttributesin classBaseEmbeddingStrategy
-
addAttributeComponent
-
setWidth
protected void setWidth(com.vaadin.flow.component.formlayout.FormLayout form, com.vaadin.flow.component.HasSize component, AttributeDefinition attributeDefinition) -
calculateAutoSize
-