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
-
Field Summary
Fields inherited from class me.hsgamer.hscore.bukkit.gui.event.BukkitInventoryEvent
event
-
Constructor Summary
ConstructorDescriptionBukkitCloseEvent
(org.bukkit.event.inventory.InventoryCloseEvent event) Create a new event -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the display can be removedvoid
setRemoveDisplay
(boolean removeDisplay) Set whether the display can be removedMethods inherited from class me.hsgamer.hscore.bukkit.gui.event.BukkitInventoryEvent
getEvent, getViewerID
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.hscore.minecraft.gui.event.ViewerEvent
getViewerID
-
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 interfaceCloseEvent
- 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 interfaceCloseEvent
- Parameters:
removeDisplay
- true if the display can be removed
-