All Implemented Interfaces:
Sizeable
Direct Known Subclasses:
NextPageGUIButton, PreviousPageGUIButton

public abstract class PaginatorGUIButton extends GUIButton
Abstract class for GUIButtons that belong to a specific PaginatorGUIPane.
  • Field Details

    • paginatorGUIPane

      protected final PaginatorGUIPane paginatorGUIPane
      The according Paginator
  • Constructor Details

    • PaginatorGUIButton

      protected PaginatorGUIButton(GUI gui, org.bukkit.inventory.ItemStack item, int cooldown, org.bukkit.Sound sound, String permission, PaginatorGUIPane paginatorGUIPane)
      Creates a new PaginatorGUIButton
      Parameters:
      gui - The GUI
      paginatorGUIPane - The according Paginator
      item - The ItemStack of the Button
      cooldown - The cooldown of the Button
      permission - The permission required to press this button
      sound - The sound played when pressing this button