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 upperGuiof theWindow- Returns:
- This
Window Builder
-
setUpperGui
Sets theGui.Builderfor the upperGuiof thisWindow Builder. TheGui.Builderwill be called every time a newWindowis created using this builder.- Parameters:
builder- TheGui.Builderfor the upperGuiof thisWindow Builder- Returns:
- This
Window Builder
-
setUpperGui
Sets theGuiSupplierfor the upperGuiof thisWindow Builder. TheSupplierwill be called every time a newWindowis created using this builder.- Parameters:
guiSupplier- TheGuiSupplierfor the upperGuiof thisWindow Builder- Returns:
- This
Window Builder
-
setLowerGui
- Parameters:
gui- The lowerGuiof theWindow- Returns:
- This
Window Builder
-
setLowerGui
Sets theGui.Builderfor the lowerGuiof thisWindow Builder. TheGui.Builderwill be called every time a newWindowis created using this builder.- Parameters:
builder- TheGui.Builderfor the lowerGuiof thisWindow Builder- Returns:
- This
Window Builder
-
setLowerGui
Sets theGuiSupplierfor the lowerGuiof thisWindow Builder. TheSupplierwill be called every time a newWindowis created using this builder.- Parameters:
guiSupplier- TheGuiSupplierfor the lowerGuiof thisWindow Builder- Returns:
- This
Window Builder
-