Package org.apache.batik.apps.svgbrowser
Interface HistoryBrowser.CommandController
- All Known Implementing Classes:
HistoryBrowser.DocumentCommandController
- Enclosing class:
- HistoryBrowser
public static interface HistoryBrowser.CommandController
Wrapps the command's execute, undo and redo methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(UndoableCommand command) Wrapps the execute method.int
getState()
Gets the state of the command controller.void
redo
(UndoableCommand command) Wrapps the redo method.void
undo
(UndoableCommand command) Wrapps the undo method.
-
Method Details
-
execute
Wrapps the execute method. -
undo
Wrapps the undo method. -
redo
Wrapps the redo method. -
getState
int getState()Gets the state of the command controller.- Returns:
- HistoryBrowserState
-