 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.textinput;
28 import org.jetbrains.annotations.NotNull;
A GUICommand that has a string representation.
A GUICommand which executes a Crossfire command.
final CommandExecutor commandExecutor
The CommandExecutor for executing the command.
String getCommandString()
Returns the command as a string.
Manages macro expansion in command strings.
boolean canExecute()
Returns whether this command may be executed.
void execute()
Executes the command.
final String command
The command to execute.
void executeCommand(@NotNull final CharSequence commandLine)
Executes a command or a list of commands.
String expandMacros(@NotNull final String string)
Expands all macro references.
ExecuteCommandCommand(@NotNull final CommandExecutor commandExecutor, @NotNull final String command, @NotNull final Macros macros)
Creates a new instance.
final Macros macros
The Macros instance to use.