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 SummaryFieldsFields inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategyaccessManager, dynAttrMetadata, metadata, metadataTools
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedFormEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, UiComponentsGenerator uiComponentsGenerator) 
- 
Method SummaryModifier 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.BaseEmbeddingStrategycheckPermissions, embed, findVisibleAttributes, getWindowId, isVisibleAttribute, setLoadDynamicAttributes
- 
Field Details- 
uiComponentsGenerator
 
- 
- 
Constructor Details- 
FormEmbeddingStrategyprotected FormEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, UiComponentsGenerator uiComponentsGenerator) 
 
- 
- 
Method Details- 
supportComponentpublic boolean supportComponent(com.vaadin.flow.component.Component component) 
- 
embedprotected void embed(com.vaadin.flow.component.Component component, View<?> view, List<AttributeDefinition> attributes) - Specified by:
- embedin class- BaseEmbeddingStrategy
 
- 
getEntityMetaClass- Specified by:
- getEntityMetaClassin class- BaseEmbeddingStrategy
 
- 
setLoadDynamicAttributesprotected void setLoadDynamicAttributes(com.vaadin.flow.component.Component component) - Specified by:
- setLoadDynamicAttributesin class- BaseEmbeddingStrategy
 
- 
addAttributeComponent
- 
setWidthprotected void setWidth(com.vaadin.flow.component.formlayout.FormLayout form, com.vaadin.flow.component.HasSize component, AttributeDefinition attributeDefinition) 
- 
calculateAutoSize
 
-