 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.skin.factory;
34 import java.awt.Color;
36 import org.jetbrains.annotations.NotNull;
135 return new GUITextButton(tooltipManager, elementListener, name,
up,
down, text,
font,
color,
colorSelected,
colorDisabled, autoRepeat, commandList,
guiFactory,
newCharModel,
keybindingsManager);
A factory class to create "textbutton" instances.
final Font font
The font to use.
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.
final Color colorDisabled
The text color when disabled.
final ButtonImages down
The images comprising the "down" button state.
final NewCharModel newCharModel
The global NewCharModel instance.
Abstract base class for GUI elements to be shown in Guis.
final KeybindingsManager keybindingsManager
The global KeybindingsManager instance.
A GUIElement that implements a button.
TextButtonFactory(@NotNull final ButtonImages up, @NotNull final ButtonImages down, @NotNull final Font font, @NotNull final Color color, @NotNull final Color colorSelected, @NotNull final Color colorDisabled, @NotNull final GuiFactory guiFactory, @NotNull final NewCharModel newCharModel, @NotNull final KeybindingsManager keybindingsManager)
Creates a new instance.
final ButtonImages up
The images comprising the "up" button state.
General information for creating new characters.
Factory for creating Gui instances.
A list of GUICommand instances.
final GuiFactory guiFactory
The global GuiFactory instance.
final Color color
The text color.
final Color colorSelected
The text color when selected.
Listener for GUIElement related events.