Uses of Interface
com.mrivanplays.pagedinventory.api.Page
-
Packages that use Page Package Description com.mrivanplays.pagedinventory.api com.mrivanplays.pagedinventory.internal -
-
Uses of Page in com.mrivanplays.pagedinventory.api
Methods in com.mrivanplays.pagedinventory.api that return Page Modifier and Type Method Description static Page
Page. create(@NotNull org.bukkit.inventory.Inventory inventory)
Creates a new page instance@NotNull Page
PageClick. getPage()
Returns the clickedPage
@NotNull Page
PageClose. getPage()
Returns thePage
closed.Methods in com.mrivanplays.pagedinventory.api that return types with arguments of type Page Modifier and Type Method Description @NotNull Optional<Page>
PagedInventory. getPage(int page)
Retrieves the page specified.@NotNull Optional<Page>
PagedInventory. getPage(@NotNull UUID page)
Retrieves the page by the specified page uuid@NotNull Map<Integer,Page>
PagedInventory. getPages()
Returns a immutable map of thePages
thisPagedInventory
has@NotNull Optional<Page>
PagedInventory. getPageViewed(@NotNull org.bukkit.entity.Player viewer)
Returns the page, currently viewed by the specifiedPlayer
viewerMethods in com.mrivanplays.pagedinventory.api with parameters of type Page Modifier and Type Method Description void
PagedInventory. addPage(@NotNull Page page)
Adds aPage
to thisPagedInventory
@NotNull OptionalInt
PagedInventory. getPageNumber(@NotNull Page page)
Retrieves the page number of the page specified.@NotNull PagedInventoryBuilder
PagedInventoryBuilder. page(int pageNum, @NotNull Page page)
Sets the page number to the specified pagevoid
PagedInventory. setPage(int pageNum, @NotNull Page page)
Constructors in com.mrivanplays.pagedinventory.api with parameters of type Page Constructor Description PageClick(PagedInventory pagedInventory, Page page, org.bukkit.inventory.ItemStack clickedItem, org.bukkit.entity.Player clicker, org.bukkit.event.inventory.ClickType clickType, int slot, int rawSlot, int hotbarButton)
PageClose(org.bukkit.entity.Player closer, PagedInventory pagedInventory, Page page)
-
Uses of Page in com.mrivanplays.pagedinventory.internal
Methods in com.mrivanplays.pagedinventory.internal that return types with arguments of type Page Modifier and Type Method Description @NotNull Optional<Page>
PagedInventoryImpl. getPage(int page)
@NotNull Optional<Page>
PagedInventoryImpl. getPage(@NotNull UUID page)
@NotNull Map<Integer,Page>
PagedInventoryImpl. getPages()
@NotNull Optional<Page>
PagedInventoryImpl. getPageViewed(@NotNull org.bukkit.entity.Player viewer)
Methods in com.mrivanplays.pagedinventory.internal with parameters of type Page Modifier and Type Method Description void
PagedInventoryImpl. addPage(@NotNull Page page)
@NotNull OptionalInt
PagedInventoryImpl. getPageNumber(@NotNull Page page)
void
PagedInventoryImpl. setPage(int pageNum, @NotNull Page page)
-