com.realtime.crossfire.jxclient.gui.commands
Interface GUICommand

All Known Implementing Classes:
AccountCreateCharacterCommand, AccountCreateCommand, AccountLinkCharacterCommand, AccountLoginCommand, AccountPlayCharacterCommand, ActivateCommandInputCommand, ConnectCommand, DialogCloseCommand, DialogOpenCommand, DialogToggleCommand, DisconnectCommand, ExecSelectionCommand, ExecuteCommandCommand, ExecuteElementCommand, HideCommand, MetaCommand, MoveSelectionCommand, PrintCommand, QuitCommand, ScrollCommand, ScrollListCommand, ScrollNeverCommand, ScrollNextCommand, ScrollResetCommand, ShowCommand, StartCommand, ToggleCommand

public interface GUICommand

An executable command.


Method Summary
 boolean canExecute()
          Returns whether this command may be executed.
 void execute()
          Executes the command.
 

Method Detail

canExecute

boolean canExecute()
Returns whether this command may be executed.

Returns:
whether this command may be executed

execute

void execute()
Executes the command. Does nothing if called while canExecute() returns false.