Package adams.gui.core
Interface UndoHandlerWithQuickAccess
-
- All Superinterfaces:
UndoHandler
- All Known Subinterfaces:
DataContainer,MonitoringDataContainer
- All Known Implementing Classes:
AbstractDataContainer,DatabaseContainer,DataGeneratorContainer,FileContainer,FlowPanel,ImagePanel,LayerManager,MemoryContainer,ObjectAnnotationPanel,SpreadSheetContainer,TextDirectoryLoaderContainer,TimeseriesExplorer
public interface UndoHandlerWithQuickAccess extends UndoHandler
ExtendedUndoHandlerwith quick access methods for performing undo/redo.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddUndoPoint(String comment)Adds an undo point with the given comment.voidredo()Performs a redo if possible.voidundo()Performs an undo if possible.-
Methods inherited from interface adams.gui.core.UndoHandler
getUndo, isUndoSupported, setUndo
-
-
-
-
Method Detail
-
undo
void undo()
Performs an undo if possible.
-
redo
void redo()
Performs a redo if possible.
-
addUndoPoint
void addUndoPoint(String comment)
Adds an undo point with the given comment.- Parameters:
comment- the comment for the undo point
-
-