Interface Button
- All Superinterfaces:
Initializable
An interface for all buttons
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanforceSetAction(UUID uuid) Check if the action of this button should be set even if the display item is nullorg.bukkit.inventory.ItemStackgetItemStack(UUID uuid) Get the item stack for the unique iddefault voidhandleAction(UUID uuid, org.bukkit.event.inventory.InventoryClickEvent event) Handle action for the unique idMethods inherited from interface me.hsgamer.hscore.ui.property.Initializable
init, stop
-
Field Details
-
EMPTY
The empty button
-
-
Method Details
-
getItemStack
Get the item stack for the unique id- Parameters:
uuid- the unique id- Returns:
- the item stack
-
handleAction
Handle action for the unique id- Parameters:
uuid- the unique idevent- the click event
-
forceSetAction
Check if the action of this button should be set even if the display item is null- Parameters:
uuid- the unique id- Returns:
- true if it should
-