|
Crossfire JXClient, Trunk
R20561
|
Implements the "unbind" command. More...
Inheritance diagram for com.realtime.crossfire.jxclient.commands.UnbindCommand:
Collaboration diagram for com.realtime.crossfire.jxclient.commands.UnbindCommand: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.
| |||
| UnbindCommand (@NotNull final CommandCallback commandCallback, @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 CommandCallback | commandCallback |
| The CommandCallback 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 "unbind" command.
It removes a key binding.
Definition at line 32 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 45 of file UnbindCommand.java.
References com.realtime.crossfire.jxclient.commands.UnbindCommand.commandCallback.
| 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 54 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 62 of file UnbindCommand.java.
References com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), and com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.removeKeyBinding().
Here is the call graph for this function:
|
private |
The CommandCallback to use.
Definition at line 38 of file UnbindCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.UnbindCommand.UnbindCommand().