Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | allArguments () |
ClearCommand (@NotNull final JXCWindowRenderer windowRenderer, @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 JXCWindowRenderer | windowRenderer |
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 command "clear". It clears the active message window.
Definition at line 34 of file ClearCommand.java.
com.realtime.crossfire.jxclient.commands.ClearCommand.ClearCommand | ( | @NotNull final JXCWindowRenderer | windowRenderer, |
@NotNull final CrossfireServerConnection | crossfireServerConnection | ||
) |
Creates a new instance.
windowRenderer | the window renderer to affect |
crossfireServerConnection | the connection instance |
Definition at line 47 of file ClearCommand.java.
References com.realtime.crossfire.jxclient.commands.AbstractCommand.crossfireServerConnection, and com.realtime.crossfire.jxclient.commands.ClearCommand.windowRenderer.
boolean com.realtime.crossfire.jxclient.commands.ClearCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 53 of file ClearCommand.java.
void com.realtime.crossfire.jxclient.commands.ClearCommand.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 ClearCommand.java.
References com.realtime.crossfire.jxclient.gui.log.Buffer.clear(), com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.getActiveMessageBuffer(), and com.realtime.crossfire.jxclient.commands.ClearCommand.windowRenderer.
String com.realtime.crossfire.jxclient.commands.ClearCommand.getHelp | ( | ) |
Returns the help text for this command.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 75 of file ClearCommand.java.
|
private |
The JXCWindowRenderer to affect.
Definition at line 40 of file ClearCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.ClearCommand.ClearCommand(), and com.realtime.crossfire.jxclient.commands.ClearCommand.execute().