Class BukkitCloseEvent

java.lang.Object
me.hsgamer.hscore.bukkit.gui.event.BukkitInventoryEvent<org.bukkit.event.inventory.InventoryCloseEvent>
me.hsgamer.hscore.bukkit.gui.event.BukkitCloseEvent
All Implemented Interfaces:
CloseEvent, ViewerEvent

public class BukkitCloseEvent extends BukkitInventoryEvent<org.bukkit.event.inventory.InventoryCloseEvent> implements CloseEvent
The Bukkit implementation of CloseEvent
  • Constructor Details

    • BukkitCloseEvent

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

    • isRemoveDisplay

      public boolean isRemoveDisplay()
      Description copied from interface: CloseEvent
      Check if the display can be removed
      Specified by:
      isRemoveDisplay in interface CloseEvent
      Returns:
      true if the display can be removed
    • setRemoveDisplay

      public void setRemoveDisplay(boolean removeDisplay)
      Description copied from interface: CloseEvent
      Set whether the display can be removed
      Specified by:
      setRemoveDisplay in interface CloseEvent
      Parameters:
      removeDisplay - true if the display can be removed