Package com.kamikazejam.kamicommon.menu.api.struct.paginated.layout
package com.kamikazejam.kamicommon.menu.api.struct.paginated.layout
-
ClassDescriptionRepresents a layout for a
PaginatedMenu
where the available slots for page icons are defined as the grid between two positions (PositionIconSlot
)Represents the layout of aPaginatedMenu
Represents the simplest layout for aPaginatedMenu
.
This layout is defined by: A 1 block gap (border) at the top of the menu where no items are placed. A 1 block gap (border) at the left and right of the menu where no items are placed. The last row is reserved for the pagination controls. The second to last row is also a gap (border) row, such that the remaining rows in between are used for the page items. NOTE: This layout only supports menu sizes that have at least 4 rows.