public interface AppendUndoView extends ActionListener
| Modifier and Type | Method and Description |
|---|---|
void |
registerObserver(AppendUndoController controller)
Register argument as observer/listener of this; this must be done first,
before any other methods of this class are called.
|
void |
updateInputDisplay(String input)
Updates input display based on String provided as argument.
|
void |
updateOutputDisplay(String output)
Updates output display based on String provided as argument.
|
void |
updateUndoAllowed(boolean allowed)
Updates display of whether undo operation is allowed.
|
actionPerformedvoid registerObserver(AppendUndoController controller)
controller - controller to registervoid updateInputDisplay(String input)
input - new value of input displayvoid updateOutputDisplay(String output)
output - new value of output displayvoid updateUndoAllowed(boolean allowed)
allowed - true iff undo is allowed