 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.textinput;
28 import org.jetbrains.annotations.NotNull;
boolean canExecute()
Returns whether this command may be executed.
A GUICommand that has a string representation.
final CommandCallback commandCallback
The CommandCallback to affect.
void execute()
Executes the command.
final Macros macros
The Macros instance to use.
ActivateCommandInputCommand(@NotNull final String commandText, @NotNull final CommandCallback commandCallback, @NotNull final Macros macros)
Creates a new instance.
void activateCommandInput(@NotNull String newText)
Activates the command input text field.
String getCommandString()
Returns the command as a string.
Manages macro expansion in command strings.
Interface that defines callback functions needed by commands.
String expandMacros(@NotNull final String string)
Expands all macro references.
A GUICommand which activates the command input field.
final String commandText
The command text to set.