Class ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>
java.lang.Object
de.placeblock.betterinventories.Builder<B,G>
de.placeblock.betterinventories.gui.GUI.Builder<B,G,P>
de.placeblock.betterinventories.gui.impl.BaseCanvasGUI.Builder<B,G,C,P>
de.placeblock.betterinventories.gui.impl.BaseChestGUI.Builder<ChestGUI.Builder<P>,ChestGUI,SimpleGUIPane,P>
de.placeblock.betterinventories.gui.impl.ChestGUI.Builder<P>
- Type Parameters:
P- The Plugin that uses this builder
- Enclosing class:
- ChestGUI
public static class ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>
extends BaseChestGUI.Builder<ChestGUI.Builder<P>,ChestGUI,SimpleGUIPane,P>
Builder for creating ChestGUIs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the instanceheight(int height) Sets the minHeight and maxHeight attributesprotected ChestGUI.Builder<P>self()Returns the Builder instance itselfMethods inherited from class de.placeblock.betterinventories.gui.impl.BaseChestGUI.Builder
maxHeight, minHeightMethods inherited from class de.placeblock.betterinventories.gui.GUI.Builder
removeItems, title, type
-
Constructor Details
-
Builder
Creates a new Builder- Parameters:
plugin- The plugin that uses this builder
-
-
Method Details
-
height
Sets the minHeight and maxHeight attributes- Parameters:
height- The height of the GUI- Returns:
- Itself
-
build
Description copied from class:BuilderBuilds the instance- Specified by:
buildin classBuilder<ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>,ChestGUI> - Returns:
- The new instance
-
self
Description copied from class:BuilderReturns the Builder instance itself- Specified by:
selfin classBuilder<ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>,ChestGUI> - Returns:
- the Builder instance itself
-