Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | allArguments () |
void | execute (@NotNull final String args) |
String | getHelp () |
UnbindCommand (@NotNull final CommandCallback commandCallback, @NotNull final CrossfireServerConnection crossfireServerConnection) | |
Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand | |
String | getCommandName () |
String | toString () |
Private Attributes | |
final CommandCallback | commandCallback |
Additional Inherited Members | |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand | |
AbstractCommand (@NotNull final String commandName, @NotNull final CrossfireServerConnection crossfireServerConnection) | |
void | drawInfo (@NotNull final String message) |
void | drawInfo (@NotNull final String message, final int color) |
void | drawInfoError (@NotNull final String message) |
Implements the "unbind" command. It removes a key binding.
Definition at line 33 of file UnbindCommand.java.
com.realtime.crossfire.jxclient.commands.UnbindCommand.UnbindCommand | ( | @NotNull final CommandCallback | commandCallback, |
@NotNull final CrossfireServerConnection | crossfireServerConnection | ||
) |
Creates a new instance.
commandCallback | the command callback to use |
crossfireServerConnection | the connection instance |
Definition at line 46 of file UnbindCommand.java.
References com.realtime.crossfire.jxclient.commands.UnbindCommand.commandCallback, and com.realtime.crossfire.jxclient.commands.AbstractCommand.crossfireServerConnection.
boolean com.realtime.crossfire.jxclient.commands.UnbindCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 52 of file UnbindCommand.java.
void com.realtime.crossfire.jxclient.commands.UnbindCommand.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 57 of file UnbindCommand.java.
References com.realtime.crossfire.jxclient.commands.UnbindCommand.commandCallback, com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), and com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.removeKeyBinding().
String com.realtime.crossfire.jxclient.commands.UnbindCommand.getHelp | ( | ) |
Returns the help text for this command.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 85 of file UnbindCommand.java.
|
private |
The CommandCallback to use.
Definition at line 39 of file UnbindCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.UnbindCommand.execute(), and com.realtime.crossfire.jxclient.commands.UnbindCommand.UnbindCommand().