Crossfire JXClient, Trunk
R20561
|
Implements the command "clear". More...
Public Member Functions | |||
boolean | allArguments () | ||
Returns whether all remaining commands should be included as arguments.
| |||
ClearCommand (@NotNull final JXCWindowRenderer windowRenderer, @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 JXCWindowRenderer | windowRenderer |
The JXCWindowRenderer to affect. 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 command "clear".
It clears the active message window.
Definition at line 33 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 46 of file ClearCommand.java.
References 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 55 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 63 of file ClearCommand.java.
References com.realtime.crossfire.jxclient.gui.log.Buffer.clear(), com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), and com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.getActiveMessageBuffer().
|
private |
The JXCWindowRenderer to affect.
Definition at line 39 of file ClearCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.ClearCommand.ClearCommand().