All Implemented Interfaces:
Item

public abstract class PageItem extends ControlItem<PagedGUI>
Switches between pages in a PagedGUI
  • Constructor Details

    • PageItem

      public PageItem(boolean forward)
  • Method Details

    • handleClick

      public void handleClick(@NotNull @NotNull org.bukkit.event.inventory.ClickType clickType, @NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.event.inventory.InventoryClickEvent event)
      Description copied from interface: Item
      A method called if the the ItemStack associated to this Item has been clicked by a player.
      Parameters:
      clickType - The ClickType the Player did.
      player - The Player who clicked on the ItemStack
      event - The InventoryClickEvent associated with this click.