com.citra.treetable
Class TreeTable.DefaultTreeSpanModel
java.lang.Object
com.citra.table.span.AbstractSpanModel
com.citra.table.span.DefaultSpanModel
com.citra.treetable.TreeTable.DefaultTreeSpanModel
- All Implemented Interfaces:
- SpanModel
- Enclosing class:
- TreeTable
public class TreeTable.DefaultTreeSpanModel
- extends DefaultSpanModel
DefaultTreeSpanModel uses the treetable's model in order to return a cell span for every
header row.
Method Summary |
CellSpan |
getCellSpanAt(int row,
int column)
Returns the cell span for the cell at row and column. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeTable.DefaultTreeSpanModel
public TreeTable.DefaultTreeSpanModel()
- Constructs a DefaultTreeSpanModel.
getCellSpanAt
public CellSpan getCellSpanAt(int row,
int column)
- Returns the cell span for the cell at row and column.
- Specified by:
getCellSpanAt
in interface SpanModel
- Overrides:
getCellSpanAt
in class DefaultSpanModel
- Parameters:
row
- the row whose value is to be looked upcolumn
- the column whose value is to be looked up
- Returns:
- the cell's span