Constructor and Description |
---|
Dialogs(@NotNull GuiFactory guiFactory,
@NotNull GuiManager guiManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addDialog(@NotNull java.lang.String name)
Creates a new dialog instance.
|
@Nullable java.lang.String |
getDialogToLoad()
Returns one dialog pending loading.
|
@NotNull java.util.Iterator<Gui> |
iterator() |
@NotNull Gui |
lookup(@NotNull java.lang.String name)
Returns a dialog instance by dialog name.
|
public Dialogs(@NotNull @NotNull GuiFactory guiFactory, @NotNull @NotNull GuiManager guiManager)
guiFactory
- the gui factory for creating gui instancesguiManager
- the GUI manager to add dialogs to@NotNull public @NotNull Gui lookup(@NotNull @NotNull java.lang.String name) throws JXCSkinException
name
- the dialog nameJXCSkinException
- if the dialog does not existpublic void addDialog(@NotNull @NotNull java.lang.String name)
name
- the dialog's name@Nullable public @Nullable java.lang.String getDialogToLoad()
null