JIDE 3.5.15

com.jidesoft.grid
Interface TableUndoableSupport

All Superinterfaces:
UndoableSupport
All Known Implementing Classes:
AbstractUndoableTableModel, DefaultUndoableTableModel

public interface TableUndoableSupport
extends UndoableSupport

Undoable support for TableModel to implement.

Since:
3.3.4

Method Summary
 void undoableInsertRow(int rowIndex, Vector<Object> rowData)
          Inserts a row at the designated row index.
 void undoableRemoveRow(int rowIndex)
          Removes a row at the designated row index.
 void undoableUpdateCell(int rowIndex, int columnIndex, Object value)
          Updates a cell at the designated cell with the new cell data .
 void undoableUpdateRow(int rowIndex, Vector<Object> newRowData)
          Updates a row at the designated row index with the new row data .
 
Methods inherited from interface com.jidesoft.swing.UndoableSupport
beginCompoundEdit, endCompoundEdit, getUndoableEditSupport, getUndoManager
 

Method Detail

undoableInsertRow

void undoableInsertRow(int rowIndex,
                       Vector<Object> rowData)
Inserts a row at the designated row index.

Invoking this method will be able to insert a row, then adds an UndoableEdit or fires an event if necessary.

Parameters:
rowIndex - the row index
rowData - the row data

undoableRemoveRow

void undoableRemoveRow(int rowIndex)
Removes a row at the designated row index.

Invoking this method will be able to remove a row, then adds an UndoableEdit or fires an event if necessary.

Parameters:
rowIndex - the row index

undoableUpdateRow

void undoableUpdateRow(int rowIndex,
                       Vector<Object> newRowData)
Updates a row at the designated row index with the new row data .

Invoking this method will be able to update a row, then adds an UndoableEdit or fires an event if necessary.

Parameters:
rowIndex - the row index
newRowData - the row data

undoableUpdateCell

void undoableUpdateCell(int rowIndex,
                        int columnIndex,
                        Object value)
Updates a cell at the designated cell with the new cell data .

Invoking this method will be able to update a cell, then adds an UndoableEdit or fires an event if necessary.

Parameters:
rowIndex - the row index
columnIndex - the row index
value - the cell value

JIDE 3.5.15