22 package com.realtime.crossfire.jxclient.commands;
27 import org.jetbrains.annotations.NotNull;
47 super(
"clear", crossfireServerConnection);
63 public void execute(@NotNull
final String args) {
64 if (!args.isEmpty()) {
Abstract base class for Command implementations.
void clear()
Clears all lines from the buffer.
void drawInfoError(@NotNull final String message)
Displays an error message.
Implements the command "clear".
final CrossfireServerConnection crossfireServerConnection
The connection instance.
Buffer getActiveMessageBuffer()
Returns the active message buffer.
Renders a Gui instance into a Frame.
void execute(@NotNull final String args)
Executes the command with the given arguments.the command arguments
Manages the contents of the contents of a log window.
Adds encoding/decoding of crossfire protocol packets to a ServerConnection.
final JXCWindowRenderer windowRenderer
The JXCWindowRenderer to affect.
ClearCommand(@NotNull final JXCWindowRenderer windowRenderer, @NotNull final CrossfireServerConnection crossfireServerConnection)
Creates a new instance.
boolean allArguments()
Returns whether all remaining commands should be included as arguments.whether all remaining commands...