22 package com.realtime.crossfire.jxclient.skin.skin;
30 import java.util.Iterator;
31 import org.jetbrains.annotations.NotNull;
32 import org.jetbrains.annotations.Nullable;
40 public interface JXCSkin extends Iterable<Gui> {
71 @SuppressWarnings(
"AbstractMethodOverridesAbstractMethod")
182 void setScreenSize(
final int screenWidth,
final int screenHeight);
CommandList getCommandList(@NotNull String name)
Returns a named command list.
Abstract base class for all label classes.
void setScreenSize(final int screenWidth, final int screenHeight)
Updates the skin's gui elements to a screen size.
Combines a list of GUIElements to for a gui.
Gui getDialogKeyBind()
Returns the key bindings dialog.
KeyBindings getDefaultKeyBindings()
Returns the default key bindings for this skin.
Gui getMainInterface()
Returns the main window.
Gui getDialogConnect()
Returns the "connection in progress" dialog.
Gui getDialogQuit()
Returns the "really quit?" dialog.
Iterator< Gui > iterator()
Returns all gui instances of this skin.
Resolution getMaxResolution()
Returns the maximal resolution of this skin.
Gui getMetaInterface()
Returns the server selection window.
Gui getStartInterface()
Returns the start window.
void detach()
Frees all allocated resources.
Defines a JXClient skin consisting of a main Gui and zero or more dialog Guis.
Gui getDialog(@NotNull final String name)
Returns a dialog by name.
void attach(@NotNull TooltipManagerImpl tooltipManager)
Attaches this skin to a gui manager.
String getSkinName()
Returns a short name for the skin.
Gui getDialogQuery()
Returns the dialog for query text input.
Gui getDialogBook(int bookNo)
Returns the popup dialog for readables.
Gui getDialogDisconnect()
Returns the "disconnect from server?" dialog.
Exception thrown if a skin related problem occurs.
AbstractLabel getTooltipLabel()
Returns the AbstractLabel that is used to display tooltips.
Information about JXClient's screen/window resolution.
A list of GUICommand instances.
Manages a set of key bindings.
Resolution getMinResolution()
Returns the minimal resolution of this skin.