|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.displaytag.model.Cell
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. If the content is set using the value attribute in the column tag no cell is created and
EMPTY_CELL is used as placeholder.
| Field Summary | |
static Cell |
EMPTY_CELL
empty cell object. |
| Constructor Summary | |
Cell(java.lang.Object value)
Creates a cell with a static value. |
|
| Method Summary | |
int |
compareTo(java.lang.Object obj)
Compare the Cell value to another Cell. |
java.lang.Object |
getStaticValue()
get the static value for the cell. |
void |
setStaticValue(java.lang.Object value)
set the static value of the cell. |
java.lang.String |
toString()
Simple toString wich output the static value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Cell EMPTY_CELL
| Constructor Detail |
public Cell(java.lang.Object value)
value - Object value of the Cell object| Method Detail |
public java.lang.Object getStaticValue()
public void setStaticValue(java.lang.Object value)
value - - the new value for this.staticValuepublic int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - Object to compare this cell to
Comparable.compareTo(Object)public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||