Class BukkitClickEvent

java.lang.Object
me.hsgamer.hscore.bukkit.gui.event.BukkitInventoryEvent<org.bukkit.event.inventory.InventoryClickEvent>
me.hsgamer.hscore.bukkit.gui.event.BukkitClickEvent
All Implemented Interfaces:
BukkitCancellableEvent, CancellableEvent, ClickEvent, ViewerEvent

public class BukkitClickEvent extends BukkitInventoryEvent<org.bukkit.event.inventory.InventoryClickEvent> implements BukkitCancellableEvent, ClickEvent
The Bukkit implementation of ClickEvent
  • Constructor Details

    • BukkitClickEvent

      public BukkitClickEvent(org.bukkit.event.inventory.InventoryClickEvent event)
      Create a new event
      Parameters:
      event - the Bukkit event
  • Method Details

    • getSlot

      public int getSlot()
      Description copied from interface: ClickEvent
      Get the slot
      Specified by:
      getSlot in interface ClickEvent
      Returns:
      the slot
    • isButtonExecute

      public boolean isButtonExecute()
      Description copied from interface: ClickEvent
      Check if the buttons can be executed
      Specified by:
      isButtonExecute in interface ClickEvent
      Returns:
      true if the buttons can be executed
    • setButtonExecute

      public void setButtonExecute(boolean buttonExecute)
      Description copied from interface: ClickEvent
      Set if the buttons can be executed
      Specified by:
      setButtonExecute in interface ClickEvent
      Parameters:
      buttonExecute - true if the buttons can be executed