Home » displaytag-1.1.1-src » org » displaytag » model » [javadoc | source]
org.displaytag.model
public class: Row [javadoc | source]
java.lang.Object
   org.displaytag.model.Row
Holds informations for a table row.
Constructor:
 public Row(Object object,
    int number) 
    Constructor for Row.
    Parameters:
    object - Object
    number - int
Method from org.displaytag.model.Row Summary:
addCell,   getCellList,   getCloseTag,   getColumnIterator,   getObject,   getOpenTag,   getParentTable,   getRowNumber,   setParentTable,   setRowNumber,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.model.Row Detail:
 public  void addCell(Cell cell) 
    Adds a cell to the row.
 public List getCellList() 
    getter for the list of Cell object.
 public String getCloseTag() 
    writes the </tr> tag.
 public ColumnIterator getColumnIterator(List columns) 
    Iterates on columns.
 public Object getObject() 
    getter for the object holding values for the current row.
 public String getOpenTag() 
    Writes the open <tr> tag.
 protected TableModel getParentTable() 
    Getter for the table model the row belongs to.
 public int getRowNumber() 
    Getter for the row number.
 protected  void setParentTable(TableModel table) 
    Setter for the table model the row belongs to.
 public  void setRowNumber(int number) 
    Setter for the row number.
 public String toString()