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, msgBundleToolsFields inherited from class io.jmix.dynattrflowui.impl.BaseEmbeddingStrategy
accessManager, dynAttrMetadata, metadata, metadataTools -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataGridEmbeddingStrategy(Metadata metadata, MetadataTools metadataTools, DynAttrMetadata dynAttrMetadata, AccessManager accessManager, MsgBundleTools msgBundleTools, CurrentAuthentication currentAuthentication, DataManager dataManager, AttributeRecalculationManager attributeRecalculationManager) -
Method Summary
Modifier 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.ListEmbeddingStrategy
getColumnCaption, getColumnDescription, getColumnFormatter, getColumnRendererMethods 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:
embedin classBaseEmbeddingStrategy
-
getEntityMetaClass
- Specified by:
getEntityMetaClassin classBaseEmbeddingStrategy
-
setLoadDynamicAttributes
protected void setLoadDynamicAttributes(com.vaadin.flow.component.Component component) - Specified by:
setLoadDynamicAttributesin classBaseEmbeddingStrategy
-
addAttributeColumn
-
setColumnWidth
protected void setColumnWidth(com.vaadin.flow.component.grid.Grid.Column<?> column, AttributeDefinition attribute)
-