Package org.apache.batik.apps.svgbrowser
Interface HistoryBrowser.CommandController
-
- All Known Implementing Classes:
HistoryBrowser.DocumentCommandController
- Enclosing class:
- HistoryBrowser
public static interface HistoryBrowser.CommandControllerWrapps the command's execute, undo and redo methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(UndoableCommand command)Wrapps the execute method.intgetState()Gets the state of the command controller.voidredo(UndoableCommand command)Wrapps the redo method.voidundo(UndoableCommand command)Wrapps the undo method.
-
-
-
Method Detail
-
execute
void execute(UndoableCommand command)
Wrapps the execute method.
-
undo
void undo(UndoableCommand command)
Wrapps the undo method.
-
redo
void redo(UndoableCommand command)
Wrapps the redo method.
-
getState
int getState()
Gets the state of the command controller.- Returns:
- HistoryBrowserState
-
-