Home » displaytag-1.1.1-src » org » displaytag » decorator » [javadoc | source]
org.displaytag.decorator
public interface: ColumnDecorator [javadoc | source]

All Known Implementing Classes:
    PercentualColumnDecorator

Deprecated! as - of Displaytag 1.1 replaced by org.displaytag.decorator.DisplaytagColumnDecorator

Interface for simple column decorators.

A column decorator is called after the object has been retrieved and it can "transform" the object before the rendering. A column decorator is simply an object formatter, and it is only aware of the value to format.

Method from org.displaytag.decorator.ColumnDecorator Summary:
decorate
Method from org.displaytag.decorator.ColumnDecorator Detail:
 public String decorate(Object columnValue) throws DecoratorException       Deprecated!
    Called after the object has been retrieved from the bean contained in the list. The decorate method is responsible for transforming the object into a string to render in the page.