JIDE 3.5.15

com.jidesoft.pivot
Class DefaultPivotEditingProvider

java.lang.Object
  extended by com.jidesoft.pivot.AbstractPivotEditingProvider
      extended by 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.


Constructor Summary
DefaultPivotEditingProvider()
           
 
Method Summary
 int addRow(IPivotDataModel model)
          Adds a row to the original table model.
 void removeRow(IPivotDataModel model, int rowIndex)
          Removes a row from the original table model.
 
Methods inherited from class com.jidesoft.pivot.AbstractPivotEditingProvider
getPivotColumnHeaderEditingProvider, getPivotDataEditingProvider, getPivotRowHeaderEditingProvider, isColumnHeaderEditable, isDataEditable, isRowHeaderEditable, setColumnHeaderEditable, setDataEditable, setRowHeaderEditable, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPivotEditingProvider

public DefaultPivotEditingProvider()
Method Detail

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 PivotDataModel
rowIndex - the index of the row to be removed.

JIDE 3.5.15