Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.skin.skin;
37 import java.util.ArrayList;
38 import java.util.Collection;
39 import java.util.HashSet;
40 import java.util.Iterator;
41 import org.jetbrains.annotations.NotNull;
42 import org.jetbrains.annotations.Nullable;
82 private final Collection<CommandList>
initEvents =
new ArrayList<>();
94 private final Collection<GUIElement>
guiElements =
new HashSet<>();
100 private final Collection<SkinEvent>
skinEvents =
new HashSet<>();
165 throw new IllegalArgumentException(
"minimum width must not exceed maximum width");
168 throw new IllegalArgumentException(
"minimum height must not exceed maximum height");
224 final AssertionError error =
new AssertionError(
"keybind dialog does not exist");
236 final AssertionError error =
new AssertionError(
"query dialog does not exist");
248 final AssertionError error =
new AssertionError(
"book dialog does not exist");
260 final AssertionError error =
new AssertionError(
"main dialog does not exist");
272 final AssertionError error =
new AssertionError(
"meta dialog does not exist");
284 final AssertionError error =
new AssertionError(
"start dialog does not exist");
323 if (this.tooltipManager !=
null) {
324 throw new IllegalStateException(
"skin is already attached");
337 if (tmpTooltipManager !=
null) {
371 public void addDialog(@NotNull
final String dialogName) {
AbstractLabel getTooltipLabel()
AbstractLabel tooltipLabel
void addCommandList(@NotNull final String commandListName, @NotNull final CommandListType commandListType)
void setSkinName(@NotNull final String skinName, @NotNull final Resolution minResolution, @NotNull final Resolution maxResolution)
void addOption(@NotNull final String optionName, @NotNull final String documentation, @NotNull final Option commandCheckBoxOption)
void addDialog(@NotNull final String dialogName)
final Collection< String > optionNames
Iterator< Gui > iterator()
final Collection< GUIElement > guiElements
Gui getDialog(@NotNull final String name)
Iterator< Gui > iterator()
void addInitEvent(@NotNull final CommandList commandList)
Gui lookup(@NotNull final String name)
Resolution getMaxResolution()
Collection< String > getCommandListNames()
void setScreenSize(final int screenWidth, final int screenHeight)
void setTooltipLabel(@Nullable final AbstractLabel tooltipLabel)
Resolution getMinResolution()
final Collection< SkinEvent > skinEvents
final Collection< CommandList > initEvents
CommandList getCommandList(@NotNull final String name)
DefaultJXCSkin(@NotNull final KeyBindings defaultKeyBindings, @NotNull final OptionManager optionManager, @NotNull final Dialogs dialogs)
final OptionManager optionManager
void addDialog(@NotNull final String name)
Gui getDialogDisconnect()
final JXCSkinCache< CommandList > definedCommandLists
final KeyBindings defaultKeyBindings
TooltipManagerImpl tooltipManager
Gui getDialogBook(final int bookNo)
void insertGuiElement(@NotNull final GUIElement guiElement)
KeyBindings getDefaultKeyBindings()
void attach(@NotNull final TooltipManagerImpl tooltipManager)
void addSkinEvent(@NotNull final SkinEvent skinEvent)
void addOption(@NotNull final String optionName, @NotNull final String documentation, @NotNull final Option option)