public class Table extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
currentPage |
protected String |
headerPosition |
protected String |
htmlClass |
protected String |
htmlStyle |
protected int |
maxRowsPerPage |
protected TableModel |
model |
protected String |
rowEvenStyle |
protected String |
rowEventClass |
protected String |
rowHoverClass |
protected String |
rowHoverStyle |
protected String |
rowOddClass |
protected String |
rowOddStyle |
protected List<TableColumn> |
tableColumns |
Constructor and Description |
---|
Table() |
protected List<TableColumn> tableColumns
protected TableModel model
protected int maxRowsPerPage
protected int currentPage
protected String headerPosition
protected String htmlStyle
protected String htmlClass
protected String rowEvenStyle
protected String rowEventClass
protected String rowOddStyle
protected String rowOddClass
protected String rowHoverStyle
protected String rowHoverClass
public String getHeaderPosition()
public void setHeaderPosition(String headerPosition)
public String getHtmlClass()
public void setHtmlClass(String htmlClass)
public String getRowEventClass()
public void setRowEventClass(String rowEventClass)
public String getRowHoverClass()
public void setRowHoverClass(String rowHoverClass)
public String getRowOddClass()
public void setRowOddClass(String rowOddClass)
public String getRowEvenStyle()
public void setRowEvenStyle(String rowEvenStyle)
public String getRowHoverStyle()
public void setRowHoverStyle(String rowHoverStyle)
public String getRowOddStyle()
public void setRowOddStyle(String rowOddStyle)
public String getHtmlStyle()
public void setHtmlStyle(String htmlStyle)
public int getMaxRowsPerPage()
public void setMaxRowsPerPage(int maxRowsPerPage)
public int getNumberOfPages()
public int getCurrentPage()
public void setCurrentPage(int newPage)
public TableColumn createColumn()
public void addColumn(TableColumn column)
public TableColumn getColumn(int columnIndex)
public void removeColumn(int columnIndex)
public String getColumnName(int columnIndex)
public int getRowCount()
public int getColumnCount()
public TableModel getModel()
public void setModel(TableModel model)
public void moveColumn(int from, int to)
public Object getValueAt(int row, int column)
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.