/** * 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. */ protected AttributeModifier getColumnAttributeModifier() { return getColumnAttributeModifier(null); }
/** * Deprecated implementation of getColumnAttributeModifiers. Is no longer invoked by the * ListColumn. */ @Deprecated public AttributeModifier[] getColumnAttributeModifiers(IModel<Node> model) { AttributeModifier modifier = getColumnAttributeModifier(); if (modifier != null) { return new AttributeModifier[] { modifier }; } else { return null; } }