Interface PaginationLayout
- All Known Implementing Classes:
GridPaginationLayout
,SimplePaginationLayout
public interface PaginationLayout
Represents the layout of a
PaginatedMenu
-
Method Summary
Modifier and TypeMethodDescription@NotNull PaginationLayout
copy()
@NotNull IconSlot
getNextIconSlot
(@NotNull MenuSize size) Get the slot that the next icon (if needed) will be placed into.
If this slot is invalid (outside the menu), the icon will not be placed.@NotNull IconSlot
getPrevIconSlot
(@NotNull MenuSize size) Get the slot that the previous icon (if needed) will be placed into.
If this slot is invalid (outside the menu), the icon will not be placed.@NotNull Collection
<Integer> Get the slots of the menu that are used for the pages.
-
Method Details
-
copy