Package io.jmix.dynattrui.impl
Class DataGridEmbeddingStrategy
java.lang.Object
io.jmix.dynattrui.impl.BaseEmbeddingStrategy
io.jmix.dynattrui.impl.ListEmbeddingStrategy
io.jmix.dynattrui.impl.DataGridEmbeddingStrategy
- All Implemented Interfaces:
EmbeddingStrategy
@Component("dynat_DataGridEmbeddingStrategy")
public class DataGridEmbeddingStrategy
extends ListEmbeddingStrategy
-
Field Summary
Fields inherited from class io.jmix.dynattrui.impl.ListEmbeddingStrategy
currentAuthentication, msgBundleTools
Fields inherited from class io.jmix.dynattrui.impl.BaseEmbeddingStrategy
accessManager, dynAttrMetadata, metadata, metadataTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttributeColumn
(DataGrid dataGrid, AttributeDefinition attribute) protected void
embed
(Component component, Frame frame, List<AttributeDefinition> attributes) protected MetaClass
getEntityMetaClass
(Component component) protected void
setColumnWidth
(DataGrid.Column column, AttributeDefinition attribute) protected void
setLoadDynamicAttributes
(Component component) boolean
supportComponent
(Component component) Methods inherited from class io.jmix.dynattrui.impl.ListEmbeddingStrategy
getColumnCaption, getColumnDescription, getColumnFormatter, setCurrentAuthentication, setMsgBundleTools
Methods inherited from class io.jmix.dynattrui.impl.BaseEmbeddingStrategy
checkPermissions, embed, findVisibleAttributes, getWindowId, isVisibleAttribute, setAccessManager, setDynAttrMetadata, setLoadDynamicAttributes, setMetadata, setMetadataTools
-
Constructor Details
-
DataGridEmbeddingStrategy
public DataGridEmbeddingStrategy()
-
-
Method Details
-
supportComponent
-
embed
- Specified by:
embed
in classBaseEmbeddingStrategy
-
getEntityMetaClass
- Specified by:
getEntityMetaClass
in classBaseEmbeddingStrategy
-
setLoadDynamicAttributes
- Specified by:
setLoadDynamicAttributes
in classBaseEmbeddingStrategy
-
addAttributeColumn
-
setColumnWidth
-