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
ExtendedUndoHandler
with 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 void
addUndoPoint(String comment)
Adds an undo point with the given comment.void
redo()
Performs a redo if possible.void
undo()
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
-
-