Crossfire JXClient, Trunk
|
Public Member Functions | |
CheckBoxFactory (@NotNull final BufferedImage checked, @NotNull final BufferedImage unchecked, @NotNull final Font font, @NotNull final Color color, @NotNull final GuiFactory guiFactory) | |
AbstractGUIElement | newCheckBox (@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, @NotNull final CheckBoxOption option, @NotNull final String text) |
Private Attributes | |
final BufferedImage | checked |
final Color | color |
final Font | font |
final GuiFactory | guiFactory |
final BufferedImage | unchecked |
A factory class to create "checkbox" instances.
Definition at line 40 of file CheckBoxFactory.java.
com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.CheckBoxFactory | ( | @NotNull final BufferedImage | checked, |
@NotNull final BufferedImage | unchecked, | ||
@NotNull final Font | font, | ||
@NotNull final Color | color, | ||
@NotNull final GuiFactory | guiFactory | ||
) |
Creates a new instance.
checked | the image for the "checked" state |
unchecked | the image for the "unchecked" state |
font | the font to use |
color | the text color |
guiFactory | the global GUI factory instance |
Definition at line 80 of file CheckBoxFactory.java.
References com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.checked, com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.color, com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.font, com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.guiFactory, and com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.unchecked.
AbstractGUIElement com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.newCheckBox | ( | @NotNull final TooltipManager | tooltipManager, |
@NotNull final GUIElementListener | elementListener, | ||
@NotNull final String | name, | ||
@NotNull final CheckBoxOption | option, | ||
@NotNull final String | text | ||
) |
Creates a new checkbox.
tooltipManager | the tooltip manager to update |
elementListener | the element listener to notify |
name | the name of this element |
option | the option to affect |
text | the button text |
Definition at line 98 of file CheckBoxFactory.java.
References com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.checked, com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.color, com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.font, com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.guiFactory, and com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.unchecked.
Referenced by com.realtime.crossfire.jxclient.skin.io.JXCSkinLoader.parseCheckbox().
|
private |
The image for the "checked" state.
Definition at line 46 of file CheckBoxFactory.java.
Referenced by com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.CheckBoxFactory(), and com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.newCheckBox().
|
private |
The text color.
Definition at line 64 of file CheckBoxFactory.java.
Referenced by com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.CheckBoxFactory(), and com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.newCheckBox().
|
private |
The font to use.
Definition at line 58 of file CheckBoxFactory.java.
Referenced by com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.CheckBoxFactory(), and com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.newCheckBox().
|
private |
The global GuiFactory instance.
Definition at line 70 of file CheckBoxFactory.java.
Referenced by com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.CheckBoxFactory(), and com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.newCheckBox().
|
private |
The image for the "unchecked" state.
Definition at line 52 of file CheckBoxFactory.java.
Referenced by com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.CheckBoxFactory(), and com.realtime.crossfire.jxclient.skin.factory.CheckBoxFactory.newCheckBox().