Package gui.controller.command
Class CommandExecuteButtonController
java.lang.Object
gui.controller.command.CommandExecuteButtonController
- All Implemented Interfaces:
ExceptionProvider
,ActionListener
,EventListener
,ApplicationResponseProvider<CommandStatusResponse>
public class CommandExecuteButtonController
extends Object
implements ActionListener, ApplicationResponseProvider<CommandStatusResponse>
-
Constructor Summary
ConstructorDescriptionCommandExecuteButtonController
(CommandDescription description, JTextField argsField, CommandCallback callback, ExceptionProvider... providers) -
Method Summary
-
Constructor Details
-
CommandExecuteButtonController
public CommandExecuteButtonController(CommandDescription description, JTextField argsField, CommandCallback callback, ExceptionProvider... providers)
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
acceptException
- Specified by:
acceptException
in interfaceExceptionProvider
-
acceptResponse
- Specified by:
acceptResponse
in interfaceApplicationResponseProvider<CommandStatusResponse>
-