com.jidesoft.pivot
Class DefaultPivotEditingProvider
java.lang.Object
com.jidesoft.pivot.AbstractPivotEditingProvider
com.jidesoft.pivot.DefaultPivotEditingProvider
- All Implemented Interfaces:
- PivotEditingProvider
public class DefaultPivotEditingProvider
- extends AbstractPivotEditingProvider
The default implementation for PivotEditingProvider. The assumption is the data source is TableModelPivotDataSource
and the original table model is a DefaultTableModel.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPivotEditingProvider
public DefaultPivotEditingProvider()
addRow
public int addRow(IPivotDataModel model)
- Description copied from interface:
PivotEditingProvider
- Adds a row to the original table model.
- Parameters:
model
- the PivotDataModel
- Returns:
- the index of the newly added row.
removeRow
public void removeRow(IPivotDataModel model,
int rowIndex)
- Description copied from interface:
PivotEditingProvider
- Removes a row from the original table model.
- Parameters:
model
- the PivotDataModelrowIndex
- the index of the row to be removed.