protected class DataToolTable.TableEdit
extends javax.swing.undo.AbstractUndoableEdit
| Constructor | Description |
|---|---|
TableEdit(int type,
java.lang.String colName,
java.lang.Object target,
java.lang.Object value) |
Contructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getPresentationName() |
|
void |
redo() |
|
void |
undo() |
public TableEdit(int type,
java.lang.String colName,
java.lang.Object target,
java.lang.Object value)
type - may be
RENAME_COLUMN_EDIT, DELETE_COLUMN_EDIT,
ADD_CELLS_EDIT, DELETE_CELLS_EDIT,
ADD_ROWS_EDIT, DELETE_ROWS_EDIT, VALUE_EDITcolName - the column nametarget - the target rows or columnvalue - the valuepublic void undo()
throws javax.swing.undo.CannotUndoException
undo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotUndoExceptionpublic void redo()
throws javax.swing.undo.CannotUndoException
redo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotUndoExceptionpublic java.lang.String getPresentationName()
getPresentationName in class javax.swing.undo.AbstractUndoableEdit