uk.org.retep.table
Class Table
java.lang.Object
uk.org.retep.table.Table
- All Implemented Interfaces:
- Serializable
public class Table
- extends Object
- implements Serializable
An object that allows a Table to be created. It then will generate html
for that table, based on that content. The table tag library uses this
as does the table macro.
- Author:
- peter
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Table
public Table()
Table
public Table(TriState sortable)
Table
public Table(String style)
Table
public Table(TriState sortable,
String style)
getId
public String getId()
setId
public void setId(String id)
getStyleClass
public String getStyleClass()
setStyleClass
public void setStyleClass(String styleClass)
getStyle
public String getStyle()
setStyle
public void setStyle(String style)
isSortable
public boolean isSortable()
- Getter for property sortable.
- Returns:
- Value of property sortable.
getSortable
public TriState getSortable()
setSortable
public void setSortable(TriState sortable)
setSortable
public void setSortable(boolean sortable)
addHeader
public void addHeader(Header header)
setHeader
public void setHeader(int index,
Header header)
getHeader
public Header getHeader(int index)
getHeaderCount
public int getHeaderCount()
getHeaders
public Collection<Header> getHeaders()
addRow
public void addRow(Row row)
setRow
public void setRow(int index,
Row row)
getRow
public Row getRow(int index)
getRowCount
public int getRowCount()
getRows
public Collection<Row> getRows()
fixTable
public void fixTable()
Copyright © 1998-2009 Retep Development Group. All Rights Reserved.