 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.log;
31 import java.awt.Color;
32 import java.awt.Image;
33 import org.jetbrains.annotations.NotNull;
34 import org.jetbrains.annotations.Nullable;
93 public void setColor(
final int index, @NotNull
final Color color) {
void dispose()
Releases resources.
Abstract base class for gui elements implementing text fields.
A set of message types or type/subtypes.
Buffer getBuffer()
Returns the Buffer instance containing the text messages.
static final long serialVersionUID
The serial version UID.
Adds encoding/decoding of crossfire protocol packets to a ServerConnection.
Adds drawinfo, drawextinfo, and query messages to a Buffer instance.
final GUIElementListener elementListener
The GUIElementListener to notify.
void notifyOpen()
Called each time the enclosing dialog is opened (or raised).
A gui element implementing the message window.
GUIMessageLog(@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, @NotNull final CrossfireServerConnection crossfireServerConnection, @Nullable final Image backgroundImage, @NotNull final Fonts fonts, @NotNull final Color defaultColor, @NotNull final Color selectionColor, @NotNull final GuiFactory guiFactory)
Creates a new instance.
final MessageBufferUpdater messageBufferUpdater
The message buffer updater for updating getBuffer().
void setTypes(@NotNull final MessageTypes types)
Sets the message types to show.
void setColor(final int index, @NotNull final Color color)
Sets a color mapping.
void dispose()
Releases all allocated resources.
final GuiFactory guiFactory
The global GuiFactory instance.
Information for displaying tooltips.
Factory for creating Gui instances.
final String name
The name of this element.
final TooltipManager tooltipManager
The TooltipManager to update.
final Image backgroundImage
The background image drawn below the text contents.
TooltipText getTooltip()
Returns the current tooltip text.
void setTypes(@NotNull final MessageTypes types)
Sets the message types to show.
Listener for GUIElement related events.
void setColor(final int index, @NotNull final Color color)
Sets a color mapping.