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

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)
 

Detailed Description

Implements the "unbind" command. It removes a key binding.

Author
Andreas Kirschbaum

Definition at line 33 of file UnbindCommand.java.

Constructor & Destructor Documentation

◆ UnbindCommand()

com.realtime.crossfire.jxclient.commands.UnbindCommand.UnbindCommand ( @NotNull final CommandCallback  commandCallback,
@NotNull final CrossfireServerConnection  crossfireServerConnection 
)

Creates a new instance.

Parameters
commandCallbackthe command callback to use
crossfireServerConnectionthe 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.

Member Function Documentation

◆ allArguments()

boolean com.realtime.crossfire.jxclient.commands.UnbindCommand.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 52 of file UnbindCommand.java.

◆ execute()

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

◆ getHelp()

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

Returns the help text for this command.

Returns
the help text

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

Definition at line 85 of file UnbindCommand.java.

Member Data Documentation

◆ commandCallback

final CommandCallback com.realtime.crossfire.jxclient.commands.UnbindCommand.commandCallback
private

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