All Implemented Interfaces:
Sizeable

public class PreviousPageGUIButton extends PaginatorGUIButton
A GUIButton for the PaginatorGUIPane which returns to the previous page.
  • Constructor Details

    • PreviousPageGUIButton

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

    • onClick

      public void onClick(ClickData data)
      Description copied from class: GUIButton
      Is called when the player clicks on the Button no matter how.
      Specified by:
      onClick in class GUIButton
      Parameters:
      data - The ClickData