|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.AbstractPivotDataModel
com.citra.pivot.DefaultPivotDataModel
public class DefaultPivotDataModel
DefaultPivotDataModel is the default implementation of a PivotDataModel. This class exists so that PivotTable can still function when an OlapDataModel is not used.
Field Summary | |
---|---|
protected PivotColumnAdapter |
pivotColumnAdapter
the pivot column adapter |
protected PivotRowAdapter |
pivotRowAdapter
the pivot row adapter |
Fields inherited from class com.citra.pivot.AbstractPivotDataModel |
---|
dataListeners |
Constructor Summary | |
---|---|
DefaultPivotDataModel()
Constructs a DefaultPivotDataModel. |
|
DefaultPivotDataModel(PivotRowAdapter pivotRowAdapter,
PivotColumnAdapter pivotColumnAdapter)
Constructs a DefaultPivotDataModel. |
Method Summary | |
---|---|
protected TableModel |
createAxis(TreePath[] rowPaths,
TreePath[] columnPaths,
TreePath[] rowValues,
TreePath[] columnValues)
Returns a two-dimensional table model containing the values at the specified row and column paths. |
Class |
getColumnClass(TreePath[] rowPaths,
TreePath[] columnPaths)
Determines the class of the model's cell at the specified row and column paths. |
PivotColumnAdapter |
getPivotColumnAdapter()
Retrieves the model's pivot column header. |
PivotRowAdapter |
getPivotRowAdapter()
Retrieves the model's pivot row header. |
Object |
getValueAt(TreePath[] rowPaths,
TreePath[] columnPaths)
Retrieves the value of the data at the specfied row and column paths. |
Methods inherited from class com.citra.pivot.AbstractPivotDataModel |
---|
addDataModelListener, fireDataChanged, fireEdgesChanged, removeDataModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PivotRowAdapter pivotRowAdapter
protected PivotColumnAdapter pivotColumnAdapter
Constructor Detail |
---|
public DefaultPivotDataModel()
public DefaultPivotDataModel(PivotRowAdapter pivotRowAdapter, PivotColumnAdapter pivotColumnAdapter)
Method Detail |
---|
protected TableModel createAxis(TreePath[] rowPaths, TreePath[] columnPaths, TreePath[] rowValues, TreePath[] columnValues)
rowPaths
- the paths of the row headercolumnPaths
- the paths of the column headerrowValues
- the paths of the row header for which a value is providedcolumnValues
- the paths of column row header for which a value is provided
public Class getColumnClass(TreePath[] rowPaths, TreePath[] columnPaths)
rowPaths
- the cell's row header pathscolumnPaths
- the cell's column header paths
public PivotColumnAdapter getPivotColumnAdapter()
public PivotRowAdapter getPivotRowAdapter()
public Object getValueAt(TreePath[] rowPaths, TreePath[] columnPaths)
rowPaths
- the cell's row header pathscolumnPaths
- the cell's column header paths
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |