22 package com.realtime.crossfire.jxclient.skin.factory;
30 import java.awt.Color;
32 import org.jetbrains.annotations.NotNull;
99 return new GUITextButton(tooltipManager, elementListener, name, up, down, text, font, color, colorSelected, autoRepeat, commandList);
Listener for GUIElement related events.
final ButtonImages up
The images comprising the "up" button state.
A factory class to create "textbutton" instances.
TextButtonFactory(@NotNull final ButtonImages up, @NotNull final ButtonImages down, @NotNull final Font font, @NotNull final Color color, @NotNull final Color colorSelected)
Creates a new instance.
final ButtonImages down
The images comprising the "down" button state.
A GUIElement that implements a button.
final Font font
The font to use.
final Color color
The text color.
Abstract base class for GUI elements to be shown in Guis.
A list of GUICommand instances.
final Color colorSelected
The text color when selected.
AbstractGUIElement newTextButton(@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, @NotNull final String text, final boolean autoRepeat, @NotNull final CommandList commandList)
Creates a new text button.