Package io.jmix.dynattrui.impl
Class FormEmbeddingStrategy
java.lang.Object
io.jmix.dynattrui.impl.BaseEmbeddingStrategy
io.jmix.dynattrui.impl.FormEmbeddingStrategy
- All Implemented Interfaces:
EmbeddingStrategy
@Component("dynat_FormEmbeddingStrategy")
public class FormEmbeddingStrategy
extends BaseEmbeddingStrategy
-
Field Summary
Fields inherited from class io.jmix.dynattrui.impl.BaseEmbeddingStrategy
accessManager, dynAttrMetadata, metadata, metadataTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttributeComponent
(Form form, AttributeDefinition attribute) protected Optional<SizeWithUnit>
calculateAutoSize
(Form form, Component component) protected void
embed
(Component component, Frame frame, List<AttributeDefinition> attributes) protected int
findComponentColumn
(Form form, Component component) protected MetaClass
getEntityMetaClass
(Component component) protected void
setLoadDynamicAttributes
(Component component) void
setUiComponentsGenerator
(UiComponentsGenerator uiComponentsGenerator) protected void
setWidth
(Form form, Component component, AttributeDefinition attributeDefinition) boolean
supportComponent
(Component component) Methods inherited from class io.jmix.dynattrui.impl.BaseEmbeddingStrategy
checkPermissions, embed, findVisibleAttributes, getWindowId, isVisibleAttribute, setAccessManager, setDynAttrMetadata, setLoadDynamicAttributes, setMetadata, setMetadataTools
-
Field Details
-
uiComponentsGenerator
-
-
Constructor Details
-
FormEmbeddingStrategy
public FormEmbeddingStrategy()
-
-
Method Details
-
setUiComponentsGenerator
-
supportComponent
-
embed
- Specified by:
embed
in classBaseEmbeddingStrategy
-
getEntityMetaClass
- Specified by:
getEntityMetaClass
in classBaseEmbeddingStrategy
-
setLoadDynamicAttributes
- Specified by:
setLoadDynamicAttributes
in classBaseEmbeddingStrategy
-
addAttributeComponent
-
setWidth
-
findComponentColumn
-
calculateAutoSize
-