Crossfire JXClient, Trunk
R20561
|
Implements the "bindings" command, listing currently active keybindings (for both a character and the global ones). More...
Public Member Functions | |||
boolean | allArguments () | ||
Returns whether all remaining commands should be included as arguments.
| |||
BindingsCommand (@NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final KeybindingsManager keybindingsManager) | |||
Creates a new instance. More... | |||
void | execute (@NotNull final String args) | ||
Executes the command with the given arguments.
| |||
![]() | |||
String | getCommandName () | ||
Returns the name of the command.
| |||
String | toString () | ||
Private Attributes | |
final KeybindingsManager | keybindingsManager |
Where to find bindings information. More... | |
Additional Inherited Members | |
![]() | |
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 "bindings" command, listing currently active keybindings (for both a character and the global ones).
Definition at line 13 of file BindingsCommand.java.
com.realtime.crossfire.jxclient.commands.BindingsCommand.BindingsCommand | ( | @NotNull final CrossfireServerConnection | crossfireServerConnection, |
@NotNull final KeybindingsManager | keybindingsManager | ||
) |
Creates a new instance.
crossfireServerConnection | the connection instance |
keybindingsManager | bindings information |
Definition at line 25 of file BindingsCommand.java.
References com.realtime.crossfire.jxclient.commands.BindingsCommand.keybindingsManager.
boolean com.realtime.crossfire.jxclient.commands.BindingsCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 34 of file BindingsCommand.java.
void com.realtime.crossfire.jxclient.commands.BindingsCommand.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 42 of file BindingsCommand.java.
References com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfo(), and com.realtime.crossfire.jxclient.gui.keybindings.KeybindingsManager.getBindingsForPartialCommand().
|
private |
Where to find bindings information.
Definition at line 18 of file BindingsCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.BindingsCommand.BindingsCommand().