org.opennms.web.svclayer
Class SimpleWebTable
java.lang.Object
org.opennms.web.svclayer.SimpleWebTable
public class SimpleWebTable
- extends Object
The idea of this class is to represent a simple table that has column headers
and rows.
- Author:
- Mathew Brozowski, DJ Gregor
SimpleWebTable
public SimpleWebTable()
getColumnHeaders
public List<SimpleWebTable.Cell> getColumnHeaders()
getRows
public List<List<SimpleWebTable.Cell>> getRows()
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
addColumn
public SimpleWebTable.Cell addColumn(Object headerContent,
String headerStyle)
addColumn
public SimpleWebTable.Cell addColumn(Object headerContent)
newRow
public void newRow()
addCell
public SimpleWebTable.Cell addCell(Object cellContent,
String cellStyle,
String link)
addCell
public SimpleWebTable.Cell addCell(Object cellContent,
String cellStyle)
addCell
public SimpleWebTable.Cell addCell(String cellContent)
toString
public String toString()
- Overrides:
toString in class Object
getErrors
public org.springframework.validation.Errors getErrors()
setErrors
public void setErrors(org.springframework.validation.Errors errors)
Copyright © 2009. All Rights Reserved.