Package xyz.xenondevs.invui.window
Class AbstractSplitWindow.AbstractBuilder<W extends Window,S extends Window.Builder.Double<W,S>>
java.lang.Object
xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder<W,S>
xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder<W,S>
- Type Parameters:
W- The type of the window.S- The type of the builder.
- All Implemented Interfaces:
Cloneable,Window.Builder<W,,S> Window.Builder.Double<W,S>
- Enclosing class:
AbstractSplitWindow
public abstract static class AbstractSplitWindow.AbstractBuilder<W extends Window,S extends Window.Builder.Double<W,S>>
extends AbstractWindow.AbstractBuilder<W,S>
implements Window.Builder.Double<W,S>
Builder for
AbstractSplitWindow.
This class should only be used directly if you're creating a custom AbstractSplitWindow.AbstractBuilder for a custom
AbstractSingleWindow implementation. Otherwise, use the static builder functions in the Window
interface, such as Window.split() to obtain a builder.
-
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>> -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
closeable, closeHandlers, modifiers, openHandlers, outsideClickHandlers, title, viewer -
Constructor Summary
Constructors -
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 class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
addCloseHandler, addModifier, addOpenHandler, addOutsideClickHandler, applyModifiers, build, clone, open, setCloseable, setCloseHandlers, setModifiers, setOpenHandlers, setOutsideClickHandlers, setTitle, setTitle, setTitle, setViewerMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Field Details
-
upperGuiSupplier
-
lowerGuiSupplier
-
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
setUpperGui
Description copied from interface:Window.Builder.DoubleSets theGuiSupplierfor the upperGuiof thisWindow Builder. TheSupplierwill be called every time a newWindowis created using this builder.- Specified by:
setUpperGuiin interfaceWindow.Builder.Double<W extends Window,S extends Window.Builder.Double<W, S>> - Parameters:
guiSupplier- TheGuiSupplierfor the upperGuiof thisWindow Builder- Returns:
- This
Window Builder
-
setUpperGui
Description copied from interface:Window.Builder.Double- Specified by:
setUpperGuiin interfaceWindow.Builder.Double<W extends Window,S extends Window.Builder.Double<W, S>> - Parameters:
gui- The upperGuiof theWindow- Returns:
- This
Window Builder
-
setUpperGui
Description copied from interface:Window.Builder.DoubleSets theGui.Builderfor the upperGuiof thisWindow Builder. TheGui.Builderwill be called every time a newWindowis created using this builder.- Specified by:
setUpperGuiin interfaceWindow.Builder.Double<W extends Window,S extends Window.Builder.Double<W, S>> - Parameters:
builder- TheGui.Builderfor the upperGuiof thisWindow Builder- Returns:
- This
Window Builder
-
setLowerGui
Description copied from interface:Window.Builder.DoubleSets theGuiSupplierfor the lowerGuiof thisWindow Builder. TheSupplierwill be called every time a newWindowis created using this builder.- Specified by:
setLowerGuiin interfaceWindow.Builder.Double<W extends Window,S extends Window.Builder.Double<W, S>> - Parameters:
guiSupplier- TheGuiSupplierfor the lowerGuiof thisWindow Builder- Returns:
- This
Window Builder
-
setLowerGui
Description copied from interface:Window.Builder.Double- Specified by:
setLowerGuiin interfaceWindow.Builder.Double<W extends Window,S extends Window.Builder.Double<W, S>> - Parameters:
gui- The lowerGuiof theWindow- Returns:
- This
Window Builder
-
setLowerGui
Description copied from interface:Window.Builder.DoubleSets theGui.Builderfor the lowerGuiof thisWindow Builder. TheGui.Builderwill be called every time a newWindowis created using this builder.- Specified by:
setLowerGuiin interfaceWindow.Builder.Double<W extends Window,S extends Window.Builder.Double<W, S>> - Parameters:
builder- TheGui.Builderfor the lowerGuiof thisWindow Builder- Returns:
- This
Window Builder
-