Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.treetable
Class TreeTable.DefaultTreeSpanModel

java.lang.Object
  extended by com.citra.table.span.AbstractSpanModel
      extended by com.citra.table.span.DefaultSpanModel
          extended by 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.


Field Summary
 
Fields inherited from class com.citra.table.span.AbstractSpanModel
listenerList
 
Constructor Summary
TreeTable.DefaultTreeSpanModel()
          Constructs a DefaultTreeSpanModel.
 
Method Summary
 CellSpan getCellSpanAt(int row, int column)
          Returns the cell span for the cell at row and column.
 
Methods inherited from class com.citra.table.span.DefaultSpanModel
addCellSpan, removeAllCellSpans, removeCellSpan, removeCellSpan
 
Methods inherited from class com.citra.table.span.AbstractSpanModel
addSpanModelListener, fireSpanCellDeleted, fireSpanCellInserted, fireSpanCellsUpdated, fireSpanChanged, fireSpanDataChanged, removeSpanModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeTable.DefaultTreeSpanModel

public TreeTable.DefaultTreeSpanModel()
Constructs a DefaultTreeSpanModel.

Method Detail

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 up
column - the column whose value is to be looked up
Returns:
the cell's span

Copyright © 2011 Citra Technologies. All Rights Reserved.