Crossfire JXClient, Trunk
|
Public Member Functions | |
void | activateDefaultElement () |
void | autoSize (final int screenWidth, final int screenHeight) |
boolean | deactivateCommandInput () |
JComponent | getComponent () |
AbstractGUIElement | getElementFromPoint (final int x, final int y) |
GUIPicture | getHelp () |
KeyBindings | getKeyBindings () |
Gui (@NotNull final String name, @NotNull final KeyBindings keyBindings) | |
boolean | handleKeyPress (@NotNull final KeyEvent2 e) |
void | hideInState (@NotNull final RendererGuiState state) |
boolean | isActiveElement (@Nullable final ActivatableGUIElement activeElement) |
boolean | isAutoSize () |
boolean | isHidden (@NotNull final RendererGuiState state) |
boolean | isModal () |
boolean | isSaveDialog () |
boolean | isUserResizable () |
boolean | isWithinDrawingArea (final int x, final int y) |
void | notifyOpen () |
void | repaint () |
void | setActiveElement (@NotNull final ActivatableGUIElement activeElement, final boolean active) |
void | setActiveElementActive (final boolean active) |
void | setAutoSize (@Nullable final Extent autoSize) |
void | setBounds (final int x, final int y, final int width, final int height, final int windowWidth, final int windowHeight) |
void | setDefaultPosition (@NotNull final Expression defaultX, @NotNull final Expression defaultY) |
void | setForcedActive (@Nullable final ActivatableGUIElement forcedActive) |
void | setGuiAutoCloseListener (@Nullable final GuiAutoCloseListener guiAutoCloseListener) |
void | setHelp (@NotNull final GUIPicture help) |
void | setModal (final boolean modal) |
void | setOpaqueDialogBackground (final boolean opaque) |
void | setSaveDialog () |
void | setShowSentCommands (final boolean showSentCommands) |
void | setShowTimestamps (final boolean showTimestamps) |
void | setUserResizable (final boolean userResizable) |
String | toString () |
Package Functions | |
public< T extends GUIElement > T | getFirstElement (@NotNull final Class< T > class_) |
public< T extends GUIElement > T | getFirstElement (@NotNull final Class< T > class_, @NotNull final String name) |
public< T extends GUIElement > T | getFirstElementEndingWith (@NotNull final Class< T > class_, @NotNull final String ending) |
public< T extends GUIElement > T | getFirstElementNotEndingWith (@NotNull final Class< T > class_, @NotNull final String ending) |
Private Member Functions | |
ActivatableGUIElement | getDefaultElement () |
void | validate () |
Private Attributes | |
ActivatableGUIElement | activeElement |
Extent | autoSize |
final JComponent | component |
Expression | defaultX |
Expression | defaultY |
ActivatableGUIElement | forcedActive |
GuiAutoCloseListener | guiAutoCloseListener |
GUIPicture | help |
final Collection< RendererGuiState > | hideInStates = EnumSet.noneOf(RendererGuiState.class) |
boolean | initialPositionSet |
final KeyBindings | keyBindings |
boolean | modal |
boolean | saveDialog |
boolean | userResizable |
Combines a list of GUIElements to for a gui.
A dialog can be modal. Such dialogs do not propagate key or mouse events to lower dialogs.
com.realtime.crossfire.jxclient.gui.gui.Gui.Gui | ( | @NotNull final String | name, |
@NotNull final KeyBindings | keyBindings | ||
) |
Creates a new instance.
name | the name of this GUI |
keyBindings | the keybindings to use |
Definition at line 151 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, and com.realtime.crossfire.jxclient.gui.gui.Gui.keyBindings.
void com.realtime.crossfire.jxclient.gui.gui.Gui.activateDefaultElement | ( | ) |
Activates the first default gui element of this gui.
Definition at line 238 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.getDefaultElement(), and com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.setActive().
Referenced by com.realtime.crossfire.jxclient.window.GuiManager.showGUIMeta().
void com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize | ( | final int | screenWidth, |
final int | screenHeight | ||
) |
Auto-resizes the dialog. This makes sure that the dialog is completely visible on the screen.
screenWidth | the screen width |
screenHeight | the screen height |
Definition at line 545 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize, com.realtime.crossfire.jxclient.gui.gui.Gui.component, com.realtime.crossfire.jxclient.gui.gui.Gui.defaultX, com.realtime.crossfire.jxclient.gui.gui.Gui.defaultY, com.realtime.crossfire.jxclient.gui.gui.Expression.evaluate(), com.realtime.crossfire.jxclient.gui.gui.Extent.getH(), com.realtime.crossfire.jxclient.gui.gui.Extent.getW(), com.realtime.crossfire.jxclient.gui.gui.Extent.getX(), com.realtime.crossfire.jxclient.gui.gui.Extent.getY(), com.realtime.crossfire.jxclient.gui.gui.Gui.initialPositionSet, com.realtime.crossfire.jxclient.util.SwingUtilities2.invokeAndWait(), com.realtime.crossfire.jxclient.gui.gui.Gui.setBounds(), and com.realtime.crossfire.jxclient.gui.gui.Gui.validate().
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.deactivateCommandInput | ( | ) |
Deactivates the command text input field of this dialog. Does nothing if the command text input field is not active or if this dialog has no command text input field.
Definition at line 440 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.activeElement, com.realtime.crossfire.jxclient.gui.gui.GUIElement.getName(), and com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.setActive().
Referenced by com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.deactivateCommandInput().
JComponent com.realtime.crossfire.jxclient.gui.gui.Gui.getComponent | ( | ) |
Returns the JComponent for this instance.
Definition at line 161 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
Referenced by com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.endRendering(), com.realtime.crossfire.jxclient.skin.skin.GuiFactory.getElementX(), com.realtime.crossfire.jxclient.skin.skin.GuiFactory.getElementY(), com.realtime.crossfire.jxclient.gui.list.GUIList< GUICharacter >.getTooltip(), com.realtime.crossfire.jxclient.gui.misc.GUIDialogTitle.mousePressed(), com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.mousePressed(), com.realtime.crossfire.jxclient.gui.misc.GUIDialogTitle.moveTo(), com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.moveTo(), com.realtime.crossfire.jxclient.skin.skin.GuiFactory.newGui(), com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.newTooltipText(), com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.setCurrentGui(), com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.setResolutionPost(), and com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.updateWindowSize().
|
private |
Returns the first default gui element of this gui.
Definition at line 220 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, and com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.isDefault.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.activateDefaultElement(), and com.realtime.crossfire.jxclient.gui.gui.Gui.handleKeyPress().
AbstractGUIElement com.realtime.crossfire.jxclient.gui.gui.Gui.getElementFromPoint | ( | final int | x, |
final int | y | ||
) |
Determines the GUIElement for a given coordinate.
x | the x-coordinate to check |
y | the y-coordinate to check |
Definition at line 323 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
|
package |
Returns the first gui element of this gui belonging to the given class.
<T> | the class to search for |
class_ | the class to search for |
Definition at line 300 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.execute(), com.realtime.crossfire.jxclient.gui.commands.AccountLoginCommand.execute(), com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.execute(), com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.execute(), com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.execute(), com.realtime.crossfire.jxclient.gui.commands.AccountCreateCharacterCommand.execute(), com.realtime.crossfire.jxclient.window.GuiManager.openQueryDialog(), com.realtime.crossfire.jxclient.window.GuiManager.setHideInput(), com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.setSelectedHostname(), and com.realtime.crossfire.jxclient.window.GuiManager.setSkin().
|
package |
Returns the first gui element of this gui belonging to the given class and having the given name.
<T> | the class to search for |
class_ | the class to search for |
name | the button's name |
Definition at line 464 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, and com.realtime.crossfire.jxclient.gui.gui.GUIElement.getName().
|
package |
Returns the first gui element of this gui which belongs to the given class and that's name ends with the given ending.
<T> | the class to search for |
class_ | the class to search for |
ending | the ending to search for |
Definition at line 254 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, and com.realtime.crossfire.jxclient.gui.gui.GUIElement.getName().
|
package |
Returns the first gui element of this gui which belongs to the given class and that's name does not end with the given ending.
<T> | the class to search for |
class_ | the class to search for |
ending | the ending to search for |
Definition at line 278 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, and com.realtime.crossfire.jxclient.gui.gui.GUIElement.getName().
GUIPicture com.realtime.crossfire.jxclient.gui.gui.Gui.getHelp | ( | ) |
Returns the help icon of this dialog.
Definition at line 638 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.help.
KeyBindings com.realtime.crossfire.jxclient.gui.gui.Gui.getKeyBindings | ( | ) |
Returns the key bindings instance for this gui.
Definition at line 483 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.keyBindings.
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.handleKeyPress | ( | @NotNull final KeyEvent2 | e | ) |
Dispatches a key press KeyEvent.
e | the event to dispatch |
Definition at line 401 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.activateNextElement(), com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.activatePrevElement(), com.realtime.crossfire.jxclient.gui.gui.Gui.activeElement, com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.execute(), com.realtime.crossfire.jxclient.gui.gui.Gui.getDefaultElement(), com.realtime.crossfire.jxclient.gui.keybindings.KeyBindings.handleKeyPress(), com.realtime.crossfire.jxclient.gui.gui.Gui.keyBindings, com.realtime.crossfire.jxclient.gui.keybindings.KeyEvent2.MASK, com.realtime.crossfire.jxclient.gui.keybindings.KeyEvent2.NONE, and com.realtime.crossfire.jxclient.gui.keybindings.KeyEvent2.SHIFT.
Referenced by com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.handleKeyPress().
void com.realtime.crossfire.jxclient.gui.gui.Gui.hideInState | ( | @NotNull final RendererGuiState | state | ) |
Hides the dialog in a state.
state | the state |
Definition at line 491 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.hideInStates.
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.isActiveElement | ( | @Nullable final ActivatableGUIElement | activeElement | ) |
Returns whether a given gui element is the active element of this dialog.
activeElement | the gui element |
Definition at line 381 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.activeElement.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.loadSkin(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElement().
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.isAutoSize | ( | ) |
Returns whether this dialog is an auto-size dialog. Auto-size dialogs cannot be moved or resized manually.
Definition at line 179 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize.
Referenced by com.realtime.crossfire.jxclient.window.DialogStateParser.load(), com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.mousePressed(), com.realtime.crossfire.jxclient.gui.misc.GUIDialogTitle.moveTo(), and com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.moveTo().
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.isHidden | ( | @NotNull final RendererGuiState | state | ) |
Returns whether this gui is visible in a state.
state | the state |
Definition at line 500 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.hideInStates.
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.isModal | ( | ) |
Returns the modal state.
Definition at line 195 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.modal.
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.isSaveDialog | ( | ) |
Returns whether this dialog retains its position across restarts.
Definition at line 603 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.saveDialog.
Referenced by com.realtime.crossfire.jxclient.window.DialogStateParser.load().
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.isUserResizable | ( | ) |
Returns whether the dialog is user-resizable.
Definition at line 211 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.userResizable.
Referenced by com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.mousePressed(), and com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.moveTo().
boolean com.realtime.crossfire.jxclient.gui.gui.Gui.isWithinDrawingArea | ( | final int | x, |
final int | y | ||
) |
Returns whether a given point is within this dialog's drawing area.
x | the x-coordinate of the point |
y | the y-coordinate of the point |
Definition at line 519 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
void com.realtime.crossfire.jxclient.gui.gui.Gui.notifyOpen | ( | ) |
Call GUIElement#notifyOpen() for all GUI elements.
Definition at line 617 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, com.realtime.crossfire.jxclient.gui.gui.Gui.help, com.realtime.crossfire.jxclient.gui.misc.GUIPicture.notifyOpen(), and com.realtime.crossfire.jxclient.gui.gui.GUIElement.notifyOpen().
void com.realtime.crossfire.jxclient.gui.gui.Gui.repaint | ( | ) |
Repaints this component.
Definition at line 707 of file Gui.java.
References com.realtime.crossfire.jxclient.util.SwingUtilities2.invokeLater().
void com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElement | ( | @NotNull final ActivatableGUIElement | activeElement, |
final boolean | active | ||
) |
Sets the gui element owning the focus.
activeElement | the gui element |
active | the new active state |
Definition at line 339 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.activeChanged(), com.realtime.crossfire.jxclient.gui.gui.Gui.activeElement, com.realtime.crossfire.jxclient.gui.gui.GuiAutoCloseListener.autoClosed(), com.realtime.crossfire.jxclient.gui.gui.Gui.forcedActive, com.realtime.crossfire.jxclient.gui.gui.Gui.guiAutoCloseListener, and com.realtime.crossfire.jxclient.gui.gui.Gui.isActiveElement().
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.loadSkin().
void com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElementActive | ( | final boolean | active | ) |
Activates or deactivates the GUI element owning the focus. Does nothing if no focus owner exists.
active | whether to activate the GUI element |
Definition at line 390 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.activeElement, and com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.setActive().
void com.realtime.crossfire.jxclient.gui.gui.Gui.setAutoSize | ( | @Nullable final Extent | autoSize | ) |
Sets the auto-size state. Auto-size dialogs cannot be moved or resized manually.
autoSize | the new auto-size or null
|
Definition at line 170 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setBounds | ( | final int | x, |
final int | y, | ||
final int | width, | ||
final int | height, | ||
final int | windowWidth, | ||
final int | windowHeight | ||
) |
Sets the position and size of this dialog. The location may be modified to make sure the dialog is fully visible in the main window. The size will be increased if it is smaller than the allowed minimum size or decreased if it is larger than the allowed maximum size.
x | the x-coordinate of the dialog |
y | the y-coordinate of the dialog |
width | the width of the dialog |
height | the height of the dialog |
windowWidth | the main window's width |
windowHeight | the main window's height |
Definition at line 662 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, com.realtime.crossfire.jxclient.gui.gui.Gui.initialPositionSet, and com.realtime.crossfire.jxclient.gui.gui.Gui.validate().
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize(), com.realtime.crossfire.jxclient.window.DialogStateParser.load(), com.realtime.crossfire.jxclient.gui.misc.GUIDialogTitle.moveTo(), and com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.moveTo().
void com.realtime.crossfire.jxclient.gui.gui.Gui.setDefaultPosition | ( | @NotNull final Expression | defaultX, |
@NotNull final Expression | defaultY | ||
) |
Sets the default position for this dialog.
defaultX | the default x-coordinate |
defaultY | the default y-coordinate |
Definition at line 594 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.defaultX, and com.realtime.crossfire.jxclient.gui.gui.Gui.defaultY.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setForcedActive | ( | @Nullable final ActivatableGUIElement | forcedActive | ) |
Sets an ActivatableGUIElement that is always active. It prevents any other element from getting active.
forcedActive | the element to set or null
|
Definition at line 528 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.forcedActive.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setGuiAutoCloseListener | ( | @Nullable final GuiAutoCloseListener | guiAutoCloseListener | ) |
Sets the GuiAutoCloseListener to be notified when this dialog becomes inactive.
guiAutoCloseListener | the listener to be notified or null
|
Definition at line 509 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.guiAutoCloseListener.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setHelp | ( | @NotNull final GUIPicture | help | ) |
Sets the help icon of this dialog.
help | the help icon |
Definition at line 646 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.help.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setModal | ( | final boolean | modal | ) |
Sets the modal state.
modal | the new modal state |
Definition at line 187 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.modal.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setOpaqueDialogBackground | ( | final boolean | opaque | ) |
Sets whether the dialog's background is opaque.
opaque | whether the background is opaque |
Definition at line 715 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component, and com.realtime.crossfire.jxclient.gui.misc.GUIDialogBackground.setOpaqueDialogBackground().
void com.realtime.crossfire.jxclient.gui.gui.Gui.setSaveDialog | ( | ) |
Makes this dialog retain its position across restarts.
Definition at line 610 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.saveDialog.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setShowSentCommands | ( | final boolean | showSentCommands | ) |
Sets whether the commands sent to the server should be shown in the messages dialog.
showSentCommands | whether to show the commands |
Definition at line 731 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setShowTimestamps | ( | final boolean | showTimestamps | ) |
Sets whether timestamps should be shown in the messages dialog.
showTimestamps | whether to show timestamps |
Definition at line 748 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
void com.realtime.crossfire.jxclient.gui.gui.Gui.setUserResizable | ( | final boolean | userResizable | ) |
Sets whether the dialog is user-resizable.
userResizable | whether the dialog is user-resizable |
Definition at line 203 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.userResizable.
String com.realtime.crossfire.jxclient.gui.gui.Gui.toString | ( | ) |
Definition at line 534 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
|
private |
Calls Container#validate() on the top-level frame.
Definition at line 693 of file Gui.java.
References com.realtime.crossfire.jxclient.gui.gui.Gui.component.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setBounds().
|
private |
The gui element which has the focus. Set to
if no such element exists.
Definition at line 111 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.deactivateCommandInput(), com.realtime.crossfire.jxclient.gui.gui.Gui.handleKeyPress(), com.realtime.crossfire.jxclient.gui.gui.Gui.isActiveElement(), com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElement(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElementActive().
|
private |
The extent of the dialog if it is auto-sizing or
otherwise. Auto-sizing dialogs cannot be moved or resized manually.
Definition at line 75 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize(), com.realtime.crossfire.jxclient.gui.gui.Gui.isAutoSize(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setAutoSize().
|
private |
The JComponent for this instance.
Definition at line 55 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize(), com.realtime.crossfire.jxclient.gui.gui.Gui.getComponent(), com.realtime.crossfire.jxclient.gui.gui.Gui.getDefaultElement(), com.realtime.crossfire.jxclient.gui.gui.Gui.getElementFromPoint(), com.realtime.crossfire.jxclient.gui.gui.Gui.getFirstElement(), com.realtime.crossfire.jxclient.gui.gui.Gui.getFirstElementEndingWith(), com.realtime.crossfire.jxclient.gui.gui.Gui.getFirstElementNotEndingWith(), com.realtime.crossfire.jxclient.gui.gui.Gui.Gui(), com.realtime.crossfire.jxclient.gui.gui.Gui.isWithinDrawingArea(), com.realtime.crossfire.jxclient.gui.gui.Gui.notifyOpen(), com.realtime.crossfire.jxclient.gui.gui.Gui.setBounds(), com.realtime.crossfire.jxclient.gui.gui.Gui.setOpaqueDialogBackground(), com.realtime.crossfire.jxclient.gui.gui.Gui.setShowSentCommands(), com.realtime.crossfire.jxclient.gui.gui.Gui.setShowTimestamps(), com.realtime.crossfire.jxclient.gui.gui.Gui.toString(), and com.realtime.crossfire.jxclient.gui.gui.Gui.validate().
|
private |
The default x-coordinate for this dialog. Set to
for default.
Definition at line 130 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setDefaultPosition().
|
private |
The default y-coordinate for this dialog. Set to
for default.
Definition at line 137 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setDefaultPosition().
|
private |
If non-
, this element is always active. No other element can become active.
Definition at line 104 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElement(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setForcedActive().
|
private |
If set, the auto-close listener to notify if this dialog looses the active gui element.
Definition at line 123 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElement(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setGuiAutoCloseListener().
|
private |
The help icon of the dialog. Set to
if this GUI is not a dialog or has no such help icon.
Definition at line 144 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.getHelp(), com.realtime.crossfire.jxclient.gui.gui.Gui.notifyOpen(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setHelp().
|
private |
The gui states that do not show this dialog.
Definition at line 97 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.hideInState(), and com.realtime.crossfire.jxclient.gui.gui.Gui.isHidden().
|
private |
Whether an initial position has been set.
Definition at line 116 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.autoSize(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setBounds().
|
private |
The KeyBindings for this gui.
Definition at line 68 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.getKeyBindings(), com.realtime.crossfire.jxclient.gui.gui.Gui.Gui(), and com.realtime.crossfire.jxclient.gui.gui.Gui.handleKeyPress().
|
private |
Whether this dialog is modal. Modal dialogs consume all key presses.
Definition at line 85 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.isModal(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setModal().
|
private |
Whether this dialog retains its position across restarts.
Definition at line 80 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.isSaveDialog(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setSaveDialog().
|
private |
Whether this dialog is user-resizable. User-resizable dialogs can be resized by dragging the border of the dialog.
Definition at line 91 of file Gui.java.
Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.isUserResizable(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setUserResizable().