HistoryBrowser.CommandControllerpublic static class HistoryBrowser.DocumentCommandController extends java.lang.Object implements HistoryBrowser.CommandController
| Modifier and Type | Field | Description |
|---|---|---|
protected DOMViewerController |
controller |
The DOMViewerController.
|
protected int |
state |
The current state of the command controller.
|
| Constructor | Description |
|---|---|
DocumentCommandController(DOMViewerController controller) |
The constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
protected DOMViewerController controller
protected int state
public DocumentCommandController(DOMViewerController controller)
controller - The DOMViewerControllerpublic void execute(UndoableCommand command)
HistoryBrowser.CommandControllerexecute in interface HistoryBrowser.CommandControllerpublic void undo(UndoableCommand command)
HistoryBrowser.CommandControllerundo in interface HistoryBrowser.CommandControllerpublic void redo(UndoableCommand command)
HistoryBrowser.CommandControllerredo in interface HistoryBrowser.CommandControllerpublic int getState()
HistoryBrowser.CommandControllergetState in interface HistoryBrowser.CommandControllerCopyright ? 2018 Apache Software Foundation. All Rights Reserved.