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 SummaryFields inherited from class io.jmix.dynattrflowui.impl.ListEmbeddingStrategyattributeRecalculationManager, currentAuthentication, dataManager, msgBundleToolsFields inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategyaccessManager, dynAttrMetadata, metadata, metadataTools
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedDataGridEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, MsgBundleTools msgBundleTools, CurrentAuthentication currentAuthentication, DataManager dataManager, AttributeRecalculationManager attributeRecalculationManager) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddAttributeColumn(DataGrid<?> dataGrid, AttributeDefinition attribute) protected voidembed(com.vaadin.flow.component.Component component, View<?> owner, List<AttributeDefinition> attributes) protected MetaClassgetEntityMetaClass(com.vaadin.flow.component.Component component) protected voidsetColumnWidth(com.vaadin.flow.component.grid.Grid.Column<?> column, AttributeDefinition attribute) protected voidsetLoadDynamicAttributes(com.vaadin.flow.component.Component component) booleansupportComponent(com.vaadin.flow.component.Component component) Methods inherited from class io.jmix.dynattrflowui.impl.ListEmbeddingStrategygetColumnCaption, getColumnDescription, getColumnFormatter, getColumnRendererMethods inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategycheckPermissions, embed, findVisibleAttributes, getWindowId, isVisibleAttribute, setLoadDynamicAttributes
- 
Constructor Details- 
DataGridEmbeddingStrategyprotected DataGridEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, MsgBundleTools msgBundleTools, CurrentAuthentication currentAuthentication, DataManager dataManager, AttributeRecalculationManager attributeRecalculationManager) 
 
- 
- 
Method Details- 
supportComponentpublic boolean supportComponent(com.vaadin.flow.component.Component component) 
- 
embedprotected void embed(com.vaadin.flow.component.Component component, View<?> owner, 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
 
- 
addAttributeColumn
- 
setColumnWidthprotected void setColumnWidth(com.vaadin.flow.component.grid.Grid.Column<?> column, AttributeDefinition attribute) 
 
-