Crossfire JXClient, Trunk
|
Public Member Functions | |
TooltipText | getTooltip () |
GUIFill (@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, @NotNull final Color color, final float alpha, @NotNull final GuiFactory guiFactory) | |
void | notifyOpen () |
void | paintComponent (@NotNull final Graphics g) |
Public Member Functions inherited from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement | |
void | dispose () |
int | getDialogBorderBottom () |
int | getDialogBorderLeft () |
int | getDialogBorderRight () |
int | getDialogBorderTop () |
String | getName () |
void | inhibitListeners () |
boolean | isDefault () |
boolean | isIgnore () |
void | mouseClicked (@NotNull final MouseEvent e) |
void | mouseDragged (@NotNull final MouseEvent e) |
void | mouseEntered (@NotNull final MouseEvent e) |
void | mouseExited (@NotNull final MouseEvent e) |
void | mouseMoved (@NotNull final MouseEvent e) |
void | mousePressed (@NotNull final MouseEvent e) |
void | mouseReleased (@NotNull final MouseEvent e) |
void | mouseWheelMoved (final int wheelRotation) |
void | setChanged () |
void | setChangedListener (@Nullable final GUIElementChangedListener changedListener) |
void | setDefault (final boolean isDefault) |
void | setIgnore () |
String | toString () |
Private Attributes | |
final Color | color |
Static Private Attributes | |
static final long | serialVersionUID = 1 |
Additional Inherited Members | |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement | |
AbstractGUIElement (@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, final boolean opaque, @NotNull final GuiFactory guiFactory) | |
TooltipText | newTooltipText (@Nullable final String tooltipText) |
void | tooltipChanged () |
A GUIElement that fills an area with a given color.
Definition at line 41 of file GUIFill.java.
com.realtime.crossfire.jxclient.gui.misc.GUIFill.GUIFill | ( | @NotNull final TooltipManager | tooltipManager, |
@NotNull final GUIElementListener | elementListener, | ||
@NotNull final String | name, | ||
@NotNull final Color | color, | ||
final float | alpha, | ||
@NotNull final GuiFactory | guiFactory | ||
) |
Creates a new instance.
tooltipManager | the tooltip manager to update |
elementListener | the element listener to notify |
name | the name of this element |
color | the color to paint |
alpha | the transparency value |
guiFactory | the global GUI factory instance |
Definition at line 63 of file GUIFill.java.
References com.realtime.crossfire.jxclient.gui.misc.GUIFill.color, com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.elementListener, com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.guiFactory, com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.name, and com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.tooltipManager.
TooltipText com.realtime.crossfire.jxclient.gui.misc.GUIFill.getTooltip | ( | ) |
Returns the current tooltip text.
Reimplemented from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.
Definition at line 82 of file GUIFill.java.
void com.realtime.crossfire.jxclient.gui.misc.GUIFill.notifyOpen | ( | ) |
Called each time the enclosing dialog is opened (or raised).
Implements com.realtime.crossfire.jxclient.gui.gui.GUIElement.
Definition at line 77 of file GUIFill.java.
void com.realtime.crossfire.jxclient.gui.misc.GUIFill.paintComponent | ( | @NotNull final Graphics | g | ) |
Definition at line 69 of file GUIFill.java.
References com.realtime.crossfire.jxclient.gui.misc.GUIFill.color.
|
private |
The Color to paint.
Definition at line 52 of file GUIFill.java.
Referenced by com.realtime.crossfire.jxclient.gui.misc.GUIFill.GUIFill(), and com.realtime.crossfire.jxclient.gui.misc.GUIFill.paintComponent().
|
staticprivate |
The serial version UID.
Definition at line 46 of file GUIFill.java.