 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.skin.skin;
27 import java.util.Collection;
28 import java.util.HashSet;
29 import java.util.Iterator;
30 import org.jetbrains.annotations.NotNull;
31 import org.jetbrains.annotations.Nullable;
39 public class Dialogs implements Iterable<Gui> {
98 throw new AssertionError(ex);
116 final String result = it.next();
Gui newGui(@NotNull final String name)
Creates a new Gui instance.
Combines a list of GUIElements to for a gui.
final GuiManager guiManager
The GuiManager to add dialogs to.
Iterator< Gui > iterator()
Maintains the application's main GUI state.
final Collection< String > dialogsToLoad
Names of pending skin files.
void addDialog(@NotNull final String name, @NotNull final Gui dialog)
Adds a dialog for name based lookup.
Dialogs(@NotNull final GuiFactory guiFactory, @NotNull final GuiManager guiManager)
Creates a new instance.
Implements a cache for elements identified by name.
void addDialog(@NotNull final String name)
Creates a new dialog instance.
Exception thrown if a skin related problem occurs.
final GuiFactory guiFactory
The GuiFactory for creating new Gui instances.
Gui lookup(@NotNull final String name)
Returns a dialog instance by dialog name.
Factory for creating Gui instances.
Maintains a set of Gui instances representing dialog windows.
String getDialogToLoad()
Returns one dialog pending loading.
final JXCSkinCache< Gui > dialogs
The existing dialogs.