org.apache.batik.apps.svgbrowser

Interface HistoryBrowser.CommandController

public static interface HistoryBrowser.CommandController

Wrapps the command's execute, undo and redo methods.
Method Summary
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

public void execute(UndoableCommand command)
Wrapps the execute method.

getState

public int getState()
Gets the state of the command controller.

Returns: HistoryBrowserState

redo

public void redo(UndoableCommand command)
Wrapps the redo method.

undo

public void undo(UndoableCommand command)
Wrapps the undo method.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.