Crossfire JXClient, Trunk
|
Public Member Functions | |
ActivateCommandInputCommand (@NotNull final String commandText, @NotNull final CommandCallback commandCallback, @NotNull final Macros macros) | |
boolean | canExecute () |
void | execute () |
String | getCommandString () |
Private Attributes | |
final CommandCallback | commandCallback |
final String | commandText |
final Macros | macros |
A GUICommand which activates the command input field.
Definition at line 34 of file ActivateCommandInputCommand.java.
com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.ActivateCommandInputCommand | ( | @NotNull final String | commandText, |
@NotNull final CommandCallback | commandCallback, | ||
@NotNull final Macros | macros | ||
) |
Creates a new instance.
commandText | the command text to set |
commandCallback | the command callback to affect |
macros | the macros instance to use |
Definition at line 60 of file ActivateCommandInputCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.commandCallback, com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.commandText, and com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.macros.
boolean com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 67 of file ActivateCommandInputCommand.java.
void com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.execute | ( | ) |
Executes the command. Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 72 of file ActivateCommandInputCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.activateCommandInput(), com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.commandCallback, com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.commandText, com.realtime.crossfire.jxclient.settings.Macros.expandMacros(), and com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.macros.
String com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.getCommandString | ( | ) |
Returns the command as a string.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand2.
Definition at line 78 of file ActivateCommandInputCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.commandText.
|
private |
The CommandCallback to affect.
Definition at line 40 of file ActivateCommandInputCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.ActivateCommandInputCommand(), and com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.execute().
|
private |
The command text to set.
Definition at line 46 of file ActivateCommandInputCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.ActivateCommandInputCommand(), com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.execute(), and com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.getCommandString().
|
private |
The Macros instance to use.
Definition at line 52 of file ActivateCommandInputCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.ActivateCommandInputCommand(), and com.realtime.crossfire.jxclient.gui.textinput.ActivateCommandInputCommand.execute().