Package xyz.xenondevs.invui.window
Interface Window.Builder.Single<W extends Window,S extends Window.Builder.Single<W,S>>
- Type Parameters:
W
- The window typeS
- The builder type
- All Superinterfaces:
Cloneable
,Window.Builder<W,
S>
- All Known Subinterfaces:
AnvilWindow.Builder.Single
,CartographyWindow.Builder.Single
,Window.Builder.Normal.Merged
,Window.Builder.Normal.Single
- All Known Implementing Classes:
AbstractSingleWindow.AbstractBuilder
- Enclosing interface:
Window.Builder<W extends Window,
S extends Window.Builder<W, S>>
public static interface Window.Builder.Single<W extends Window,S extends Window.Builder.Single<W,S>>
extends Window.Builder<W,S>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface xyz.xenondevs.invui.window.Window.Builder
Window.Builder.Double<W extends Window,
S extends Window.Builder.Double<W, S>>, Window.Builder.Normal<V, S extends Window.Builder.Normal<V, S>>, Window.Builder.Single<W extends Window, S extends Window.Builder.Single<W, S>> -
Method Summary
Modifier and TypeMethodDescriptionsetGui
(Gui.Builder<?, ?> builder) Sets theGui.Builder
for thisWindow Builder
.Methods inherited from interface xyz.xenondevs.invui.window.Window.Builder
addCloseHandler, addModifier, addOpenHandler, addOutsideClickHandler, build, build, clone, open, setCloseable, setCloseHandlers, setModifiers, setOpenHandlers, setOutsideClickHandlers, setTitle, setTitle, setTitle, setViewer
-
Method Details
-
setGui
- Parameters:
gui
- TheGui
of theWindow
- Returns:
- This
Window Builder
-
setGui
Sets theGui.Builder
for thisWindow Builder
. TheGui.Builder
will be called every time a newWindow
is created using this builder.- Parameters:
builder
- TheGui.Builder
for thisWindow Builder
- Returns:
- This
Window Builder
-
setGui
Sets theGui
Supplier
for thisWindow Builder
. TheSupplier
will be called every time a newWindow
is created using this builder.- Parameters:
guiSupplier
- TheGui
Supplier
- Returns:
- This
Window Builder
-