Package org.opensourcephysics.tools
Class DataToolTable.TableEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.opensourcephysics.tools.DataToolTable.TableEdit
- All Implemented Interfaces:
- Serializable,- UndoableEdit
- Enclosing class:
- DataToolTable
A class to undo/redo datatable edits.
- See Also:
- 
Field SummaryFields inherited from class javax.swing.undo.AbstractUndoableEditRedoName, UndoName
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class javax.swing.undo.AbstractUndoableEditaddEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
- 
Constructor Details- 
TableEditContructor.- Parameters:
- type- may be RENAME_COLUMN_EDIT, DELETE_COLUMN_EDIT, ADD_CELLS_EDIT, DELETE_CELLS_EDIT, ADD_ROWS_EDIT, DELETE_ROWS_EDIT, VALUE_EDIT, DELIMITED_TEXT_EDIT
- colName- the column name
- target- the target rows or column, or previous delimited data
- value- the value
 
 
- 
- 
Method Details- 
undo- Specified by:
- undoin interface- UndoableEdit
- Overrides:
- undoin class- AbstractUndoableEdit
- Throws:
- CannotUndoException
 
- 
redo- Specified by:
- redoin interface- UndoableEdit
- Overrides:
- redoin class- AbstractUndoableEdit
- Throws:
- CannotUndoException
 
- 
getPresentationName- Specified by:
- getPresentationNamein interface- UndoableEdit
- Overrides:
- getPresentationNamein class- AbstractUndoableEdit
 
 
-