Package io.jmix.dynattrflowui.impl
Class DataGridEmbeddingStrategy
java.lang.Object
io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
io.jmix.dynattrflowui.impl.ListEmbeddingStrategy
io.jmix.dynattrflowui.impl.DataGridEmbeddingStrategy
- All Implemented Interfaces:
EmbeddingStrategy
@Component("dynat_DataGridEmbeddingStrategy")
public class DataGridEmbeddingStrategy
extends ListEmbeddingStrategy
-
Field Summary
Fields inherited from class io.jmix.dynattrflowui.impl.ListEmbeddingStrategy
attributeRecalculationManager, currentAuthentication, dataManager, msgBundleTools
Fields inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
accessManager, dynAttrMetadata, metadata, metadataTools
-
Constructor Summary
ModifierConstructorDescriptionprotected
DataGridEmbeddingStrategy
(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, MsgBundleTools msgBundleTools, CurrentAuthentication currentAuthentication, DataManager dataManager, AttributeRecalculationManager attributeRecalculationManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttributeColumn
(DataGrid<?> dataGrid, AttributeDefinition attribute) protected void
embed
(com.vaadin.flow.component.Component component, View<?> owner, List<AttributeDefinition> attributes) protected MetaClass
getEntityMetaClass
(com.vaadin.flow.component.Component component) protected void
setColumnWidth
(com.vaadin.flow.component.grid.Grid.Column<?> column, AttributeDefinition attribute) protected void
setLoadDynamicAttributes
(com.vaadin.flow.component.Component component) boolean
supportComponent
(com.vaadin.flow.component.Component component) Methods inherited from class io.jmix.dynattrflowui.impl.ListEmbeddingStrategy
getColumnCaption, getColumnDescription, getColumnFormatter, getColumnRenderer
Methods inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
checkPermissions, embed, findVisibleAttributes, getWindowId, isVisibleAttribute, setLoadDynamicAttributes
-
Constructor Details
-
DataGridEmbeddingStrategy
protected DataGridEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, MsgBundleTools msgBundleTools, CurrentAuthentication currentAuthentication, DataManager dataManager, AttributeRecalculationManager attributeRecalculationManager)
-
-
Method Details
-
supportComponent
public boolean supportComponent(com.vaadin.flow.component.Component component) -
embed
protected void embed(com.vaadin.flow.component.Component component, View<?> owner, 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
-
addAttributeColumn
-
setColumnWidth
protected void setColumnWidth(com.vaadin.flow.component.grid.Grid.Column<?> column, AttributeDefinition attribute)
-