 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.label;
30 import java.awt.Color;
32 import org.jetbrains.annotations.NotNull;
33 import org.jetbrains.annotations.Nullable;
final CrossfireServerConnection crossfireServerConnection
The CrossfireServerConnection to monitor.
void dispose()
Releases all allocated resources.
final Color backgroundColor
If set, the opaque background color.
void removeCrossfireQueryListener(@NotNull CrossfireQueryListener listener)
Removes the given listener from the list of objects listening to the query S->C messages.
Adds encoding/decoding of crossfire protocol packets to a ServerConnection.
A GUIHTMLLabel that displays the last received "query" command.
final GUIElementListener elementListener
The GUIElementListener to notify.
static final long serialVersionUID
The serial version UID.
final CrossfireQueryListener crossfireQueryListener
The CrossfireQueryListener registered to receive query commands.
void addCrossfireQueryListener(@NotNull CrossfireQueryListener listener)
Adds a new listener monitoring the query S->C messages.
void setText(@NotNull final String text)
Sets the label text.
Interface for listeners interested in query messages received from the Crossfire server.
final GuiFactory guiFactory
The global GuiFactory instance.
Factory for creating Gui instances.
final String name
The name of this element.
GUILabelQuery(@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, @NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final Font font, @NotNull final Color color, @Nullable final Color backgroundColor, @NotNull final GuiFactory guiFactory)
Creates a new instance.
A AbstractLabel that renders the text as a list of plain strings.
final TooltipManager tooltipManager
The TooltipManager to update.
Listener for GUIElement related events.