Package dev.triumphteam.gui.builder.gui
Class PaginatedBuilder
java.lang.Object
dev.triumphteam.gui.builder.gui.BaseGuiBuilder<PaginatedGui,PaginatedBuilder>
dev.triumphteam.gui.builder.gui.PaginatedBuilder
public class PaginatedBuilder extends BaseGuiBuilder<PaginatedGui,PaginatedBuilder>
GUI builder for creating a
PaginatedGui
-
Constructor Summary
Constructors Constructor Description PaginatedBuilder()
-
Method Summary
Modifier and Type Method Description PaginatedGui
create()
Creates a newPaginatedGui
PaginatedBuilder
pageSize(int pageSize)
Sets the desirable page size, most of the times this isn't neededMethods inherited from class dev.triumphteam.gui.builder.gui.BaseGuiBuilder
apply, disableAllInteractions, disableItemPlace, disableItemSwap, disableItemTake, enableAllInteractions, enableItemPlace, enableItemSwap, enableItemTake, rows, title
-
Constructor Details
-
PaginatedBuilder
public PaginatedBuilder()
-
-
Method Details
-
pageSize
Sets the desirable page size, most of the times this isn't needed- Parameters:
pageSize
- The amount of free slots that page items should occupy- Returns:
- The current builder
-
create
Creates a newPaginatedGui
- Specified by:
create
in classBaseGuiBuilder<PaginatedGui,PaginatedBuilder>
- Returns:
- A new
PaginatedGui
-