Class MenuClickEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.enjin.minecraft_commons.spigot.ui.event.MenuEvent
-
- com.enjin.minecraft_commons.spigot.ui.event.MenuClickEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class MenuClickEvent extends MenuEvent implements org.bukkit.event.Cancellable
-
-
Constructor Summary
Constructors Constructor Description MenuClickEvent(AbstractMenu menu, org.bukkit.entity.Player player, int x, int y, org.bukkit.event.inventory.ClickType clickType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bukkit.event.inventory.ClickTypegetClickType()intgetX()intgetY()booleanisCancelled()voidsetCancelled(boolean flag)-
Methods inherited from class com.enjin.minecraft_commons.spigot.ui.event.MenuEvent
getHandlerList, getHandlers, getMenu, getPlayer
-
-
-
-
Constructor Detail
-
MenuClickEvent
public MenuClickEvent(AbstractMenu menu, org.bukkit.entity.Player player, int x, int y, org.bukkit.event.inventory.ClickType clickType)
-
-
Method Detail
-
getX
public int getX()
-
getY
public int getY()
-
getClickType
public org.bukkit.event.inventory.ClickType getClickType()
-
setCancelled
public void setCancelled(boolean flag)
- Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceorg.bukkit.event.Cancellable
-
-