public final class ScrollingGui extends PaginatedGui
| Constructor and Description |
|---|
ScrollingGui(int rows,
int pageSize,
@NotNull String title)
Alternative constructor that doesn't require the
ScrollType |
ScrollingGui(int rows,
int pageSize,
@NotNull String title,
@NotNull ScrollType scrollType)
Main constructor of the Scrolling GUI
|
ScrollingGui(int rows,
@NotNull String title)
Alternative constructor that doesn't require the
ScrollType or page size |
ScrollingGui(int rows,
@NotNull String title,
@NotNull ScrollType scrollType)
Alternative constructor that doesn't require the page size
|
ScrollingGui(@NotNull String title)
Alternative constructor that only requires title
|
ScrollingGui(@NotNull String title,
@NotNull ScrollType scrollType)
Alternative constructor that doesn't require the rows or page size
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
next()
Overrides
PaginatedGui.next() to make it work with the specific scrolls |
void |
open(@NotNull org.bukkit.entity.HumanEntity player)
Overrides
PaginatedGui.open(HumanEntity) to make it work with the specific scrolls |
void |
open(@NotNull org.bukkit.entity.HumanEntity player,
int openPage)
Overrides
PaginatedGui.open(HumanEntity, int) to make it work with the specific scrolls |
boolean |
previous()
Overrides
PaginatedGui.previous() to make it work with the specific scrolls |
addItem, addItem, getCurrentPageItems, getCurrentPageNum, getNextPageNum, getPageItems, getPrevPageNum, nextPage, prevPage, setPageSize, update, updatePageItem, updatePageItem, updatePageItem, updatePageItem, updateTitleaddSlotAction, addSlotAction, close, getFiller, getGuiItem, getGuiItems, getInventory, getRows, isUpdating, setCloseGuiAction, setDefaultClickAction, setDefaultTopClickAction, setDragAction, setItem, setItem, setItem, setOpenGuiAction, setOutsideClickAction, setRows, setUpdating, updateItem, updateItem, updateItem, updateItempublic ScrollingGui(int rows,
int pageSize,
@NotNull
@NotNull String title,
@NotNull
@NotNull ScrollType scrollType)
rows - The rows the GUI should havepageSize - The Page sizetitle - The GUI's titlescrollType - The ScrollTypepublic ScrollingGui(int rows,
int pageSize,
@NotNull
@NotNull String title)
ScrollTyperows - The rows the GUI should havepageSize - The Page sizetitle - The GUI's titlepublic ScrollingGui(int rows,
@NotNull
@NotNull String title)
ScrollType or page sizerows - The rows the GUI should havetitle - The GUI's titlepublic ScrollingGui(int rows,
@NotNull
@NotNull String title,
@NotNull
@NotNull ScrollType scrollType)
rows - The rows the GUI should havetitle - The GUI's titlescrollType - The ScrollTypepublic ScrollingGui(@NotNull
@NotNull String title)
title - The GUI's titlepublic ScrollingGui(@NotNull
@NotNull String title,
@NotNull
@NotNull ScrollType scrollType)
title - The GUI's titlescrollType - The ScrollTypepublic boolean next()
PaginatedGui.next() to make it work with the specific scrollsnext in class PaginatedGuipublic boolean previous()
PaginatedGui.previous() to make it work with the specific scrollsprevious in class PaginatedGuipublic void open(@NotNull
@NotNull org.bukkit.entity.HumanEntity player)
PaginatedGui.open(HumanEntity) to make it work with the specific scrollsopen in class PaginatedGuiplayer - The HumanEntity to open the GUI topublic void open(@NotNull
@NotNull org.bukkit.entity.HumanEntity player,
int openPage)
PaginatedGui.open(HumanEntity, int) to make it work with the specific scrollsopen in class PaginatedGuiplayer - The HumanEntity to open the GUI toopenPage - The page to open onCopyright © 2020. All rights reserved.