JIDE 3.5.15

com.jidesoft.pivot
Interface PivotEditingProvider

All Known Implementing Classes:
AbstractPivotEditingProvider, DefaultPivotEditingProvider

public interface PivotEditingProvider


Method Summary
 int addRow(IPivotDataModel model)
          Adds a row to the original table model.
 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 removeRow(IPivotDataModel model, int rowIndex)
          Removes a row from the original table model.
 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.
 

Method Detail

isDataEditable

boolean isDataEditable()
Checks if the data table editable.

Returns:
true or false.

setDataEditable

void setDataEditable(boolean dataEditable)
Sets the flag to indicate if the data table is editable.

Parameters:
dataEditable - true or false.

isRowHeaderEditable

boolean isRowHeaderEditable()
Checks if the row header table is editable.

Returns:
true or false.

setRowHeaderEditable

void setRowHeaderEditable(boolean rowHeaderEditable)
Sets the flag to indicate if the row header table is editable.

Parameters:
rowHeaderEditable - true or false.

isColumnHeaderEditable

boolean isColumnHeaderEditable()
Checks if the column header table is editable.

Returns:
true or false.

setColumnHeaderEditable

void setColumnHeaderEditable(boolean columnHeaderEditable)
Sets the flag to indicate if the column header table is editable.

Parameters:
columnHeaderEditable - true or false.

getPivotRowHeaderEditingProvider

PivotDataEditingProvider getPivotRowHeaderEditingProvider()
Gets the PivotDataEditingProvider for the row header table.

Returns:
the PivotDataEditingProvider for the row header table.

getPivotColumnHeaderEditingProvider

PivotDataEditingProvider getPivotColumnHeaderEditingProvider()
Gets the PivotDataEditingProvider for the column header table.

Returns:
the PivotDataEditingProvider for the column header table.

getPivotDataEditingProvider

PivotDataEditingProvider getPivotDataEditingProvider()
Gets the PivotDataEditingProvider for the data table.

Returns:
the PivotDataEditingProvider for the data table.

addRow

int addRow(IPivotDataModel model)
Adds a row to the original table model.

Parameters:
model - the PivotDataModel
Returns:
the index of the newly added row.

removeRow

void removeRow(IPivotDataModel model,
               int rowIndex)
Removes a row from the original table model.

Parameters:
model - the PivotDataModel
rowIndex - the index of the row to be removed.

setValueAt

void setValueAt(IPivotDataModel model,
                Object value,
                int rowIndex,
                int columnIndex)
Sets the value at the original table model.

Parameters:
model - the PivotDataModel
value - the new value
rowIndex - the row index
columnIndex - the column index

JIDE 3.5.15