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