Home » displaytag-1.1.1-src » org » displaytag » model » [javadoc | source]
org.displaytag.model
public class: Cell [javadoc | source]
java.lang.Object
   org.displaytag.model.Cell

All Implemented Interfaces:
    Cloneable, Comparable

Represents a table cell.

A cell is used only when the content is placed as content of the column tag and need to be evaluated during iteration.

Field Summary
public static final  Cell EMPTY_CELL    empty cell object. Use as placeholder for empty cell to avoid useless object creation. 
Constructor:
 public Cell(Object value) 
    Creates a cell with a static value.
    Parameters:
    value - Object value of the Cell object
Method from org.displaytag.model.Cell Summary:
compareTo,   getPerRowAttributes,   getStaticValue,   setPerRowAttributes,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.model.Cell Detail:
 public int compareTo(Object obj) 
    Compare the Cell value to another Cell.
 public HtmlAttributeMap getPerRowAttributes() 
 public Object getStaticValue() 
    get the static value for the cell.
 public  void setPerRowAttributes(HtmlAttributeMap perRowValues) 
 public String toString() 
    Simple toString wich output the static value.