Crossfire JXClient, Trunk
Public Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.commands.BindingsCommand Class Reference
Inheritance diagram for com.realtime.crossfire.jxclient.commands.BindingsCommand:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.commands.BindingsCommand:
Collaboration graph

Public Member Functions

boolean allArguments ()
 
 BindingsCommand (@NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final KeybindingsManager keybindingsManager)
 
void execute (@NotNull final String args)
 
String getHelp ()
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand
String getCommandName ()
 
String toString ()
 

Private Attributes

final KeybindingsManager keybindingsManager
 

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)
 

Detailed Description

Implements the "bindings" command, listing currently active keybindings (for both a character and the global ones).

Author
Nicolas Weeger

Definition at line 36 of file BindingsCommand.java.

Constructor & Destructor Documentation

◆ BindingsCommand()

com.realtime.crossfire.jxclient.commands.BindingsCommand.BindingsCommand ( @NotNull final CrossfireServerConnection  crossfireServerConnection,
@NotNull final KeybindingsManager  keybindingsManager 
)

Creates a new instance.

Parameters
crossfireServerConnectionthe connection instance
keybindingsManagerbindings information

Definition at line 49 of file BindingsCommand.java.

References com.realtime.crossfire.jxclient.commands.AbstractCommand.crossfireServerConnection, and com.realtime.crossfire.jxclient.commands.BindingsCommand.keybindingsManager.

Member Function Documentation

◆ allArguments()

boolean com.realtime.crossfire.jxclient.commands.BindingsCommand.allArguments ( )

Returns whether all remaining commands should be included as arguments.

Returns
whether all remaining commands should be included as arguments

Implements com.realtime.crossfire.jxclient.commands.Command.

Definition at line 55 of file BindingsCommand.java.

◆ execute()

void com.realtime.crossfire.jxclient.commands.BindingsCommand.execute ( @NotNull final String  args)

◆ getHelp()

String com.realtime.crossfire.jxclient.commands.BindingsCommand.getHelp ( )

Member Data Documentation

◆ keybindingsManager

final KeybindingsManager com.realtime.crossfire.jxclient.commands.BindingsCommand.keybindingsManager
private

The documentation for this class was generated from the following file: