Class CancelInteractionHandler
java.lang.Object
de.placeblock.betterinventories.interaction.InteractionHandler
de.placeblock.betterinventories.interaction.impl.CancelInteractionHandler
InteractionHandler for cancelling GUI interaction
-
Field Summary
Fields inherited from class de.placeblock.betterinventories.interaction.InteractionHandler
gui -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CancelInteractionHandler
Creates a new CancelInteractionHandler- Parameters:
gui- The according GUI
-
-
Method Details
-
onClick
public boolean onClick(org.bukkit.event.inventory.InventoryClickEvent event) Called on-click- Specified by:
onClickin classInteractionHandler- Parameters:
event- The Event- Returns:
- Whether to stop handler-calling
-
onDrag
public boolean onDrag(org.bukkit.event.inventory.InventoryDragEvent event) Called on-drag- Specified by:
onDragin classInteractionHandler- Parameters:
event- The Event- Returns:
- Whether to stop handler-calling
-