Crossfire JXClient, Trunk
|
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) |
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 35 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 47 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 53 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 58 of file DebugMessagesCommand.java.
References com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.crossfireServerConnection, 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.MessageType.getAllTypes(), com.realtime.crossfire.jxclient.gui.log.MessageBufferUpdater.getColorName(), and com.realtime.crossfire.jxclient.gui.log.MessageBufferUpdater.NUM_COLORS.
String com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.getHelp | ( | ) |
Returns the help text for this command.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 88 of file DebugMessagesCommand.java.
|
private |
The connection instance.
Definition at line 41 of file DebugMessagesCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.DebugMessagesCommand(), and com.realtime.crossfire.jxclient.commands.DebugMessagesCommand.execute().