JIDE 3.5.15

com.jidesoft.pivot
Class AbstractPivotEditingProvider

java.lang.Object
  extended by com.jidesoft.pivot.AbstractPivotEditingProvider
All Implemented Interfaces:
PivotEditingProvider
Direct Known Subclasses:
DefaultPivotEditingProvider

public abstract class AbstractPivotEditingProvider
extends Object
implements PivotEditingProvider

Abstract implementation for PivotEditingProvider.


Constructor Summary
AbstractPivotEditingProvider()
           
 
Method Summary
 PivotDataEditingProvider getPivotColumnHeaderEditingProvider()
          Gets the PivotDataEditingProvider for the column header table.
 PivotDataEditingProvider getPivotDataEditingProvider()
          Gets the PivotDataEditingProvider for the data table.
 PivotDataEditingProvider getPivotRowHeaderEditingProvider()
          Gets the PivotDataEditingProvider for the row header table.
 boolean isColumnHeaderEditable()
          Checks if the column header table is editable.
 boolean isDataEditable()
          Checks if the data table editable.
 boolean isRowHeaderEditable()
          Checks if the row header table is editable.
 void setColumnHeaderEditable(boolean columnHeaderEditable)
          Sets the flag to indicate if the column header table is editable.
 void setDataEditable(boolean dataEditable)
          Sets the flag to indicate if the data table is editable.
 void setRowHeaderEditable(boolean rowHeaderEditable)
          Sets the flag to indicate if the row header table is editable.
 void setValueAt(IPivotDataModel model, Object value, int rowIndex, int columnIndex)
          Sets the value at the original table model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jidesoft.pivot.PivotEditingProvider
addRow, removeRow
 

Constructor Detail

AbstractPivotEditingProvider

public AbstractPivotEditingProvider()
Method Detail

isDataEditable

public boolean isDataEditable()
Description copied from interface: PivotEditingProvider
Checks if the data table editable.

Specified by:
isDataEditable in interface PivotEditingProvider
Returns:
true or false.

setDataEditable

public void setDataEditable(boolean dataEditable)
Description copied from interface: PivotEditingProvider
Sets the flag to indicate if the data table is editable.

Specified by:
setDataEditable in interface PivotEditingProvider
Parameters:
dataEditable - true or false.

isRowHeaderEditable

public boolean isRowHeaderEditable()
Description copied from interface: PivotEditingProvider
Checks if the row header table is editable.

Specified by:
isRowHeaderEditable in interface PivotEditingProvider
Returns:
true or false.

setRowHeaderEditable

public void setRowHeaderEditable(boolean rowHeaderEditable)
Description copied from interface: PivotEditingProvider
Sets the flag to indicate if the row header table is editable.

Specified by:
setRowHeaderEditable in interface PivotEditingProvider
Parameters:
rowHeaderEditable - true or false.

isColumnHeaderEditable

public boolean isColumnHeaderEditable()
Description copied from interface: PivotEditingProvider
Checks if the column header table is editable.

Specified by:
isColumnHeaderEditable in interface PivotEditingProvider
Returns:
true or false.

setColumnHeaderEditable

public void setColumnHeaderEditable(boolean columnHeaderEditable)
Description copied from interface: PivotEditingProvider
Sets the flag to indicate if the column header table is editable.

Specified by:
setColumnHeaderEditable in interface PivotEditingProvider
Parameters:
columnHeaderEditable - true or false.

getPivotRowHeaderEditingProvider

public PivotDataEditingProvider getPivotRowHeaderEditingProvider()
Description copied from interface: PivotEditingProvider
Gets the PivotDataEditingProvider for the row header table.

Specified by:
getPivotRowHeaderEditingProvider in interface PivotEditingProvider
Returns:
the PivotDataEditingProvider for the row header table.

getPivotColumnHeaderEditingProvider

public PivotDataEditingProvider getPivotColumnHeaderEditingProvider()
Description copied from interface: PivotEditingProvider
Gets the PivotDataEditingProvider for the column header table.

Specified by:
getPivotColumnHeaderEditingProvider in interface PivotEditingProvider
Returns:
the PivotDataEditingProvider for the column header table.

getPivotDataEditingProvider

public PivotDataEditingProvider getPivotDataEditingProvider()
Description copied from interface: PivotEditingProvider
Gets the PivotDataEditingProvider for the data table.

Specified by:
getPivotDataEditingProvider in interface PivotEditingProvider
Returns:
the PivotDataEditingProvider for the data table.

setValueAt

public void setValueAt(IPivotDataModel model,
                       Object value,
                       int rowIndex,
                       int columnIndex)
Description copied from interface: PivotEditingProvider
Sets the value at the original table model.

Specified by:
setValueAt in interface PivotEditingProvider
Parameters:
model - the PivotDataModel
value - the new value
rowIndex - the row index
columnIndex - the column index

JIDE 3.5.15