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

Public Member Functions

boolean allArguments ()
 
 DebugMessagesCommand (@NotNull final CrossfireServerConnection crossfireServerConnection)
 
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 CrossfireServerConnection crossfireServerConnection
 

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 "debug_messages" command. It prints text to the log window using different message types or enables/disables printing message types.

Author
Andreas Kirschbaum

Definition at line 35 of file DebugMessagesCommand.java.

Constructor & Destructor Documentation

◆ DebugMessagesCommand()

com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.DebugMessagesCommand ( @NotNull final CrossfireServerConnection  crossfireServerConnection)

Creates a new instance.

Parameters
crossfireServerConnectionthe connection instance

Definition at line 47 of file DebugMessagesCommand.java.

References com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.crossfireServerConnection.

Member Function Documentation

◆ allArguments()

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

◆ execute()

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

◆ getHelp()

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

Returns the help text for this command.

Returns
the help text

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

Definition at line 88 of file DebugMessagesCommand.java.

Member Data Documentation

◆ crossfireServerConnection

final CrossfireServerConnection com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.crossfireServerConnection
private

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