| Package | Description |
|---|---|
| io.github.portlek.smartinventory |
the package that contains common interfaces.
|
| io.github.portlek.smartinventory.content |
the package that contains
Page's contents. |
| Modifier and Type | Method and Description |
|---|---|
default @NotNull Pagination |
Pagination.addToIterator(@NotNull SlotIterator iterator)
adds all the current page icons to the given iterator.
|
@NotNull Pagination |
Pagination.first()
Sets the current page to the first page.
|
@NotNull Pagination |
Pagination.last()
sets the current page to the last page.
|
@NotNull Pagination |
Pagination.next()
sets the current page to the next page,
if the current page is already the last page, this do nothing.
|
@NotNull Pagination |
Pagination.page(int page)
sets the current page.
|
@NotNull Pagination |
InventoryContents.pagination()
gets the pagination system linked to
this. |
@NotNull Pagination |
Pagination.previous()
sets the current page to the previous page,
if the current page is already the first page, this do nothing.
|
@NotNull Pagination |
Pagination.setIcons(Icon... icons)
sets all the icons for this Pagination.
|
@NotNull Pagination |
Pagination.setIconsPerPage(int iconsPerPage)
sets the maximum amount of icons per page.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicPagination
an implementation for
Pagination. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Pagination |
BasicPagination.first() |
@NotNull Pagination |
BasicPagination.last() |
@NotNull Pagination |
BasicPagination.next() |
@NotNull Pagination |
BasicPagination.page(int page) |
@NotNull Pagination |
BasicInventoryContents.pagination() |
@NotNull Pagination |
BasicPagination.previous() |
@NotNull Pagination |
BasicPagination.setIcons(Icon... icons) |
@NotNull Pagination |
BasicPagination.setIconsPerPage(int iconsPerPage) |
Copyright © 2021. All rights reserved.