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
Modifier and TypeFieldDescriptionFields inherited from class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
closeable, closeHandlers, modifiers, openHandlers, outsideClickHandlers, title, viewer
-
Constructor Summary
-
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, setViewer
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Field Details
-
upperGuiSupplier
-
lowerGuiSupplier
-
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
setUpperGui
Description copied from interface:Window.Builder.Double
Sets theGui
Supplier
for the upperGui
of thisWindow Builder
. TheSupplier
will be called every time a newWindow
is created using this builder.- Specified by:
setUpperGui
in interfaceWindow.Builder.Double<W extends Window,
S extends Window.Builder.Double<W, S>> - Parameters:
guiSupplier
- TheGui
Supplier
for the upperGui
of thisWindow Builder
- Returns:
- This
Window Builder
-
setUpperGui
Description copied from interface:Window.Builder.Double
- Specified by:
setUpperGui
in interfaceWindow.Builder.Double<W extends Window,
S extends Window.Builder.Double<W, S>> - Parameters:
gui
- The upperGui
of theWindow
- Returns:
- This
Window Builder
-
setUpperGui
Description copied from interface:Window.Builder.Double
Sets theGui.Builder
for the upperGui
of thisWindow Builder
. TheGui.Builder
will be called every time a newWindow
is created using this builder.- Specified by:
setUpperGui
in interfaceWindow.Builder.Double<W extends Window,
S extends Window.Builder.Double<W, S>> - Parameters:
builder
- TheGui.Builder
for the upperGui
of thisWindow Builder
- Returns:
- This
Window Builder
-
setLowerGui
Description copied from interface:Window.Builder.Double
Sets theGui
Supplier
for the lowerGui
of thisWindow Builder
. TheSupplier
will be called every time a newWindow
is created using this builder.- Specified by:
setLowerGui
in interfaceWindow.Builder.Double<W extends Window,
S extends Window.Builder.Double<W, S>> - Parameters:
guiSupplier
- TheGui
Supplier
for the lowerGui
of thisWindow Builder
- Returns:
- This
Window Builder
-
setLowerGui
Description copied from interface:Window.Builder.Double
- Specified by:
setLowerGui
in interfaceWindow.Builder.Double<W extends Window,
S extends Window.Builder.Double<W, S>> - Parameters:
gui
- The lowerGui
of theWindow
- Returns:
- This
Window Builder
-
setLowerGui
Description copied from interface:Window.Builder.Double
Sets theGui.Builder
for the lowerGui
of thisWindow Builder
. TheGui.Builder
will be called every time a newWindow
is created using this builder.- Specified by:
setLowerGui
in interfaceWindow.Builder.Double<W extends Window,
S extends Window.Builder.Double<W, S>> - Parameters:
builder
- TheGui.Builder
for the lowerGui
of thisWindow Builder
- Returns:
- This
Window Builder
-