Class AbstractNodeAttributeModifier
java.lang.Object
org.hippoecm.frontend.plugins.standards.list.resolvers.AbstractListAttributeModifier<Node>
org.hippoecm.frontend.plugins.standards.list.resolvers.AbstractNodeAttributeModifier
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DocumentAttributeModifier
,IconAttributeModifier
,StateIconAttributeModifier
,TypeIconAttributeModifier
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.wicket.AttributeModifier
getCellAttributeModifier
(Node node) protected org.apache.wicket.AttributeModifier[]
org.apache.wicket.AttributeModifier[]
getCellAttributeModifiers
(org.apache.wicket.model.IModel<Node> model) Attribute modifiers for an individual cells in the grid.protected org.apache.wicket.AttributeModifier
Helper method for the common case that there is only one modifier.org.apache.wicket.AttributeModifier[]
Attribute modifiers for a column in the grid.
-
Constructor Details
-
AbstractNodeAttributeModifier
public AbstractNodeAttributeModifier()
-
-
Method Details
-
getCellAttributeModifiers
public org.apache.wicket.AttributeModifier[] getCellAttributeModifiers(org.apache.wicket.model.IModel<Node> model) Description copied from class:AbstractListAttributeModifier
Attribute modifiers for an individual cells in the grid. The array may be null and each of the modifiers in the array can be null, too.- Overrides:
getCellAttributeModifiers
in classAbstractListAttributeModifier<Node>
- Parameters:
model
- for the row being shown- Returns:
- an array of attribute modifiers
-
getCellAttributeModifier
-
getCellAttributeModifiers
protected org.apache.wicket.AttributeModifier[] getCellAttributeModifiers(Node node) throws RepositoryException - Throws:
RepositoryException
-
getColumnAttributeModifier
protected org.apache.wicket.AttributeModifier getColumnAttributeModifier()Helper method for the common case that there is only one modifier. Override this method when a column-specific attribute modifier should be present on each cell in the column. -
getColumnAttributeModifiers
public org.apache.wicket.AttributeModifier[] getColumnAttributeModifiers()Description copied from class:AbstractListAttributeModifier
Attribute modifiers for a column in the grid. The array may be null and each of the modifiers in the array can be null, too.- Overrides:
getColumnAttributeModifiers
in classAbstractListAttributeModifier<Node>
- Returns:
- an array of attribute modifiers
-