Interface GUICommand
-
- All Known Subinterfaces:
GUICommand2
- All Known Implementing Classes:
AccountCreateCharacterCommand,AccountCreateCommand,AccountLinkCharacterCommand,AccountLoginCommand,AccountPasswordCommand,AccountPlayCharacterCommand,ActivateCommandInputCommand,ConnectCommand,DialogCloseCommand,DialogOpenCommand,DialogToggleCommand,DisconnectCommand,ExecSelectionCommand,ExecuteCommandCommand,ExecuteElementCommand,HideCommand,InventoryFilterCommand,MetaCommand,MoveSelectionCommand,PrintCommand,QuestsFilterCommand,QuitCommand,ScrollCommand,ScrollListCommand,ScrollNeverCommand,ScrollNextCommand,ScrollResetCommand,SelectCommand,ShowCommand,StartCommand,ToggleCommand
public interface GUICommandAn executable command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanExecute()Returns whether this command may be executed.voidexecute()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 whilecanExecute()returnsfalse.
-
-