22 package com.realtime.crossfire.jxclient.gui.commands;
26 import org.jetbrains.annotations.NotNull;
QuitCommand(@NotNull final CommandCallback commandCallback)
Creates a new instance.
void quitApplication()
Terminates the application.
Interface that defines callback functions needed by commands.
A GUICommand which quite the client.
void execute()
Executes the command.Does nothing if called while canExecute() returnsfalse .
final CommandCallback commandCallback
The CommandCallback instance.
boolean canExecute()
Returns whether this command may be executed.whether this command may be executed ...