|
Crossfire JXClient, Trunk
R20561
|
Implements the "scripttell" command. More...
Inheritance diagram for com.realtime.crossfire.jxclient.commands.ScripttellCommand:
Collaboration diagram for com.realtime.crossfire.jxclient.commands.ScripttellCommand:Public Member Functions | |||
| boolean | allArguments () | ||
Returns whether all remaining commands should be included as arguments.
| |||
| void | execute (@NotNull final String args) | ||
Executes the command with the given arguments.
| |||
| ScripttellCommand (@NotNull final ScriptManager scriptManager, @NotNull final CrossfireServerConnection crossfireServerConnection) | |||
| Creates a new instance. More... | |||
Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand | |||
| String | getCommandName () | ||
Returns the name of the command.
| |||
| String | toString () | ||
Private Attributes | |
| final ScriptManager | scriptManager |
| The ScriptManager to use. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand | |
| AbstractCommand (@NotNull final String commandName, @NotNull final CrossfireServerConnection crossfireServerConnection) | |
| Creates a new instance. More... | |
| void | drawInfo (@NotNull final String message) |
| Displays a regular output message. More... | |
| void | drawInfo (@NotNull final String message, final int color) |
| Displays a message. More... | |
| void | drawInfoError (@NotNull final String message) |
| Displays an error message. More... | |
Implements the "scripttell" command.
It sends a "scripttell" command to a script.
Definition at line 35 of file ScripttellCommand.java.
| com.realtime.crossfire.jxclient.commands.ScripttellCommand.ScripttellCommand | ( | @NotNull final ScriptManager | scriptManager, |
| @NotNull final CrossfireServerConnection | crossfireServerConnection | ||
| ) |
Creates a new instance.
| scriptManager | the script manager to use |
| crossfireServerConnection | the connection instance |
Definition at line 48 of file ScripttellCommand.java.
References com.realtime.crossfire.jxclient.commands.ScripttellCommand.scriptManager.
| boolean com.realtime.crossfire.jxclient.commands.ScripttellCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 57 of file ScripttellCommand.java.
| void com.realtime.crossfire.jxclient.commands.ScripttellCommand.execute | ( | @NotNull final String | args | ) |
Executes the command with the given arguments.
| args | the command arguments |
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 65 of file ScripttellCommand.java.
References com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), com.realtime.crossfire.jxclient.scripts.ScriptManager.getScripts(), and com.realtime.crossfire.jxclient.scripts.ScriptManager.hasScripts().
Here is the call graph for this function:
|
private |
The ScriptManager to use.
Definition at line 41 of file ScripttellCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.ScripttellCommand.ScripttellCommand().