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.Builderfor 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- TheGuiof theWindow- Returns:
- This
Window Builder
-
setGui
Sets theGui.Builderfor thisWindow Builder. TheGui.Builderwill be called every time a newWindowis created using this builder.- Parameters:
builder- TheGui.Builderfor thisWindow Builder- Returns:
- This
Window Builder
-
setGui
Sets theGuiSupplierfor thisWindow Builder. TheSupplierwill be called every time a newWindowis created using this builder.- Parameters:
guiSupplier- TheGuiSupplier- Returns:
- This
Window Builder
-