|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PivotTableModel
PivotTableModel is PivotTable's data model.
There are three areas used in pivoting, the row header, column header
and data area. PivotTableModel therefore consists of three sub-models,
each corresponding to these areas.
1. RowAdapter: the model of the table's row header
2. ColumnAdapter: the model of the table's column header
3. DataModel: the model of the data area
Method Summary | |
---|---|
PivotColumnAdapter |
getColumnAdapter()
Returns the model's column adapter. |
Class |
getColumnClass(int row,
int column)
Determines the class of the model's cell at coordinates row and column. |
PivotDataModel |
getDataModel()
Retrieves the pivot data model that contains the actual data, excluding the row and column header. |
PivotRowAdapter |
getRowAdapter()
Returns the model's row adapter. |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
PivotColumnAdapter getColumnAdapter()
Class getColumnClass(int row, int column)
row
- the cell's row indexcolumn
- the cell's column index
PivotDataModel getDataModel()
PivotRowAdapter getRowAdapter()
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |