Home » displaytag-1.1.1-src » org » displaytag » model » [javadoc | source]
org.displaytag.model
public class: Column [javadoc | source]
java.lang.Object
   org.displaytag.model.Column
Represents a column in a table.
Constructor:
 public Column(HeaderCell headerCell,
    Cell currentCell,
    Row parentRow) 
    Constructor for Column.
    Parameters:
    headerCell - HeaderCell
    currentCell - Cell
    parentRow - Row
Method from org.displaytag.model.Column Summary:
createChoppedAndLinkedValue,   getChoppedAndLinkedValue,   getCloseTag,   getHeaderCell,   getOpenTag,   getValue,   initialize,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.model.Column Detail:
 public String createChoppedAndLinkedValue() throws DecoratorException, ObjectLookupException 
    Calculates the cell content, cropping or linking the value as needed.
 public String getChoppedAndLinkedValue() 
    get the final value to be displayed in the table. This method can only be called after initialize(), where the content is evaluated
 public String getCloseTag() 
    Generates the cell close tag (</td>).
 public HeaderCell getHeaderCell() 
    Get the header cell for this column.
 public String getOpenTag() 
    Generates the cell open tag.
 public Object getValue(boolean decorated) throws DecoratorException, ObjectLookupException 
    Gets the value, after calling the table / column decorator is requested.
 public  void initialize() throws DecoratorException, ObjectLookupException 
    Initialize the cell value.
 public String toString()