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