Class Dialogs
java.lang.Object
com.realtime.crossfire.jxclient.skin.skin.Dialogs
Maintains a set of
Gui instances representing dialog windows. These
dialogs can be looked up by name. Also maintains a set of dialogs pending
loading.-
Constructor Summary
ConstructorsConstructorDescriptionDialogs(@NotNull GuiFactory guiFactory, @NotNull GuiManager guiManager) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Dialogs
Creates a new instance.- Parameters:
guiFactory- the gui factory for creating gui instancesguiManager- the GUI manager to add dialogs to
-
-
Method Details
-
lookup
Returns a dialog instance by dialog name.- Parameters:
name- the dialog name- Returns:
- the dialog instance
- Throws:
JXCSkinException- if the dialog does not exist
-
addDialog
Creates a new dialog instance.- Parameters:
name- the dialog's name
-
getDialogToLoad
Returns one dialog pending loading. Each dialog is returned only once.- Returns:
- a dialog pending loading or
null
-
iterator
-