|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.displaytag.model.Row
public class Row
Holds informations for a table row.
| Constructor Summary | |
|---|---|
Row(java.lang.Object object,
int number)
Constructor for Row. |
|
| Method Summary | |
|---|---|
void |
addCell(Cell cell)
Adds a cell to the row. |
java.util.List |
getCellList()
getter for the list of Cell object. |
java.lang.String |
getCloseTag()
writes the </tr> tag. |
ColumnIterator |
getColumnIterator(java.util.List columns)
Iterates on columns. |
java.lang.Object |
getObject()
getter for the object holding values for the current row. |
java.lang.String |
getOpenTag()
Writes the open <tr> tag. |
protected TableModel |
getParentTable()
Getter for the table model the row belongs to. |
int |
getRowNumber()
Getter for the row number. |
protected void |
setParentTable(TableModel table)
Setter for the table model the row belongs to. |
void |
setRowNumber(int number)
Setter for the row number. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Row(java.lang.Object object,
int number)
object - Objectnumber - int| Method Detail |
|---|
public void setRowNumber(int number)
number - row numberpublic int getRowNumber()
public void addCell(Cell cell)
cell - Cellpublic java.util.List getCellList()
public java.lang.Object getObject()
public ColumnIterator getColumnIterator(java.util.List columns)
columns - List
protected void setParentTable(TableModel table)
table - TableModelprotected TableModel getParentTable()
public java.lang.String getOpenTag()
public java.lang.String getCloseTag()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||