|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.apps.svgbrowser.HistoryBrowser.DocumentCommandController
public static class HistoryBrowser.DocumentCommandController
Lets the DOMViewerController wrap the commands.
| Field Summary | |
|---|---|
protected DOMViewerController |
controller
The DOMViewerController. |
protected int |
state
The current state of the command controller. |
| Constructor Summary | |
|---|---|
HistoryBrowser.DocumentCommandController(DOMViewerController controller)
The constructor. |
|
| Method Summary | |
|---|---|
void |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DOMViewerController controller
protected int state
| Constructor Detail |
|---|
public HistoryBrowser.DocumentCommandController(DOMViewerController controller)
controller - The DOMViewerController| Method Detail |
|---|
public void execute(UndoableCommand command)
HistoryBrowser.CommandController
execute in interface HistoryBrowser.CommandControllerpublic void undo(UndoableCommand command)
HistoryBrowser.CommandController
undo in interface HistoryBrowser.CommandControllerpublic void redo(UndoableCommand command)
HistoryBrowser.CommandController
redo in interface HistoryBrowser.CommandControllerpublic int getState()
HistoryBrowser.CommandController
getState in interface HistoryBrowser.CommandController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||