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
public abstract class AbstractNodeAttributeModifier extends AbstractListAttributeModifier<Node>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractNodeAttributeModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.wicket.AttributeModifier
getCellAttributeModifier(Node node)
protected org.apache.wicket.AttributeModifier[]
getCellAttributeModifiers(Node node)
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
getColumnAttributeModifier()
Helper method for the common case that there is only one modifier.org.apache.wicket.AttributeModifier[]
getColumnAttributeModifiers()
Attribute modifiers for a column in the grid.
-
-
-
Method Detail
-
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
protected org.apache.wicket.AttributeModifier getCellAttributeModifier(Node node)
-
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
-
-