Crossfire JXClient, Trunk
R20561
|
Implements the "debug_messages" command. More...
Public Member Functions | |||
boolean | allArguments () | ||
Returns whether all remaining commands should be included as arguments.
| |||
DebugMessagesCommand (@NotNull final CrossfireServerConnection crossfireServerConnection) | |||
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 CrossfireServerConnection | crossfireServerConnection |
The connection instance. 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 "debug_messages" command.
It prints text to the log window using different message types or enables/disables printing message types.
Definition at line 34 of file DebugMessagesCommand.java.
com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.DebugMessagesCommand | ( | @NotNull final CrossfireServerConnection | crossfireServerConnection | ) |
Creates a new instance.
crossfireServerConnection | the connection instance |
Definition at line 46 of file DebugMessagesCommand.java.
References com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.crossfireServerConnection.
boolean com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 55 of file DebugMessagesCommand.java.
void com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.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 63 of file DebugMessagesCommand.java.
References com.realtime.crossfire.jxclient.server.crossfire.CrossfireServerConnection.drawextinfo(), com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfo(), com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), com.realtime.crossfire.jxclient.server.crossfire.CrossfireServerConnection.drawInfoSetDebugMode(), com.realtime.crossfire.jxclient.protocol.MessageTypes.getAllTypes(), com.realtime.crossfire.jxclient.gui.log.MessageBufferUpdater.getColorName(), and com.realtime.crossfire.jxclient.gui.log.MessageBufferUpdater.NUM_COLORS.
|
private |
The connection instance.
Definition at line 40 of file DebugMessagesCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.DebugMessagesCommand().