 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.button;
30 import java.awt.Color;
32 import java.awt.image.BufferedImage;
33 import org.jetbrains.annotations.NotNull;
34 import org.jetbrains.annotations.Nullable;
72 public GUIButton(@NotNull
final TooltipManager tooltipManager, @NotNull
final GUIElementListener elementListener, @NotNull
final String
name, @NotNull
final BufferedImage
imageUp, @NotNull
final BufferedImage
imageDown, @Nullable
final String
text, @Nullable
final Font
font, @Nullable
final Color
color,
final int textX,
final int textY,
final boolean autoRepeat, @NotNull
final CommandList commandList, @NotNull
final GuiFactory guiFactory, @NotNull
final NewCharModel newCharModel) {
73 super(
tooltipManager,
elementListener,
name,
imageUp,
imageDown,
text,
font,
color,
textX,
textY,
autoRepeat,
commandList,
guiFactory,
newCharModel);
void setChanged()
Records that the contents have changed and must be repainted.
boolean isActive()
Returns whether a GUI element is active.
General information for creating new characters.
final GuiFactory guiFactory
The global GuiFactory instance.
final GUIElementListener elementListener
The GUIElementListener to notify.
Factory for creating Gui instances.
A list of GUICommand instances.
final String name
The name of this element.
final TooltipManager tooltipManager
The TooltipManager to update.
Listener for GUIElement related events.