Package xyz.xenondevs.invui.window
Interface Window.Builder.Double<W extends Window,S extends Window.Builder.Double<W,S>>
- Type Parameters:
W
- The window typeS
- The builder type
- All Superinterfaces:
Cloneable
,Window.Builder<W,
S>
- All Known Subinterfaces:
AnvilWindow.Builder.Split
,CartographyWindow.Builder.Split
,Window.Builder.Normal.Split
- All Known Implementing Classes:
AbstractSplitWindow.AbstractBuilder
- Enclosing interface:
Window.Builder<W extends Window,
S extends Window.Builder<W, S>>
public static interface Window.Builder.Double<W extends Window,S extends Window.Builder.Double<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 TypeMethodDescriptionsetLowerGui
(@NotNull Supplier<Gui> guiSupplier) setLowerGui
(@NotNull Gui gui) setLowerGui
(Gui.Builder<?, ?> builder) setUpperGui
(@NotNull Supplier<Gui> guiSupplier) setUpperGui
(@NotNull Gui gui) setUpperGui
(Gui.Builder<?, ?> 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
-
setUpperGui
- Parameters:
gui
- The upperGui
of theWindow
- Returns:
- This
Window Builder
-
setUpperGui
Sets theGui.Builder
for the upperGui
of thisWindow Builder
. TheGui.Builder
will be called every time a newWindow
is created using this builder.- Parameters:
builder
- TheGui.Builder
for the upperGui
of thisWindow Builder
- Returns:
- This
Window Builder
-
setUpperGui
Sets theGui
Supplier
for the upperGui
of thisWindow Builder
. TheSupplier
will be called every time a newWindow
is created using this builder.- Parameters:
guiSupplier
- TheGui
Supplier
for the upperGui
of thisWindow Builder
- Returns:
- This
Window Builder
-
setLowerGui
- Parameters:
gui
- The lowerGui
of theWindow
- Returns:
- This
Window Builder
-
setLowerGui
Sets theGui.Builder
for the lowerGui
of thisWindow Builder
. TheGui.Builder
will be called every time a newWindow
is created using this builder.- Parameters:
builder
- TheGui.Builder
for the lowerGui
of thisWindow Builder
- Returns:
- This
Window Builder
-
setLowerGui
Sets theGui
Supplier
for the lowerGui
of thisWindow Builder
. TheSupplier
will be called every time a newWindow
is created using this builder.- Parameters:
guiSupplier
- TheGui
Supplier
for the lowerGui
of thisWindow Builder
- Returns:
- This
Window Builder
-