GUICommand

GUI/Commands. GUICommand

new GUICommand(guiAdapteropt)

Creates a new GUICommand instance.

Description:
  • Creates a new GUICommand instance.

Source:
Parameters:
Name Type Attributes Description
guiAdapter GUIAdapter <optional>

Optional reference to the GUI adapter

Throws:

If attempting to instantiate the abstract base class directly

Type
Error

Methods

(abstract) execute()

Executes the command.

Description:
  • Executes the command.

Source:

(abstract) undo()

Undoes the command, reversing its effect.

Description:
  • Undoes the command, reversing its effect.

Source: