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
-
Field Summary
Fields inherited from class me.hsgamer.hscore.bukkit.gui.event.BukkitInventoryEvent
event
-
Constructor Summary
ConstructorDescriptionBukkitClickEvent
(org.bukkit.event.inventory.InventoryClickEvent event) Create a new event -
Method Summary
Modifier and TypeMethodDescriptionint
getSlot()
Get the slotboolean
Check if the buttons can be executedvoid
setButtonExecute
(boolean buttonExecute) Set if the buttons can be executedMethods 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.bukkit.gui.event.BukkitCancellableEvent
getEvent, isCancelled, setCancelled
Methods inherited from interface me.hsgamer.hscore.minecraft.gui.event.ViewerEvent
getViewerID
-
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 interfaceClickEvent
- Returns:
- the slot
-
isButtonExecute
public boolean isButtonExecute()Description copied from interface:ClickEvent
Check if the buttons can be executed- Specified by:
isButtonExecute
in interfaceClickEvent
- 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 interfaceClickEvent
- Parameters:
buttonExecute
- true if the buttons can be executed
-