Index
All Classes and Interfaces|All Packages
A
- addButton(int, Button) - Method in class de.clickism.clickgui.menu.Menu
-
Adds a button to the menu.
- addEnchantmentGlint() - Method in class de.clickism.clickgui.menu.Button
-
Adds an enchantment glint to this button's icon.
- addEnchantmentGlint() - Method in interface de.clickism.clickgui.menu.Icon
-
Adds the enchantment glint to this icon.
- addLoreLine(String) - Method in class de.clickism.clickgui.menu.Button
-
Adds a line to the lore of this button's icon.
- addLoreLine(String) - Method in interface de.clickism.clickgui.menu.Icon
-
Adds a line to the lore of this icon.
- applyToMeta(Consumer<ItemMeta>) - Method in class de.clickism.clickgui.menu.Button
-
Applies the consumer to the meta of this button's icon.
- applyToMeta(Consumer<ItemMeta>) - Method in interface de.clickism.clickgui.menu.Icon
-
Applies the consumer to the meta of this icon.
B
- background - Variable in class de.clickism.clickgui.menu.Menu
-
The background of the menu.
- Button - Class in de.clickism.clickgui.menu
-
Represents a button in a menu.
- Button(Icon) - Constructor for class de.clickism.clickgui.menu.Button
-
Creates a new button with the specified icon.
- buttons - Variable in class de.clickism.clickgui.menu.Menu
-
The buttons in the menu.
C
- ClickAction - Interface in de.clickism.clickgui.menu
-
Represents a click action/callback of a button.
- clickHandler - Variable in class de.clickism.clickgui.menu.Menu
-
The click handler for the menu.
- ClickHandler - Interface in de.clickism.clickgui.menu.handler
-
Handles clicks before passing them onto a menu.
- close() - Method in class de.clickism.clickgui.menu.MenuView
-
Closes the menu.
- closeActiveMenus() - Method in class de.clickism.clickgui.menu.MenuManager
-
Closes all active menus.
- create(String) - Method in interface de.clickism.clickgui.menu.InventorySupplier
-
Creates a new
Inventorywith the given title.
D
- de.clickism.clickgui.menu - package de.clickism.clickgui.menu
- de.clickism.clickgui.menu.handler - package de.clickism.clickgui.menu.handler
E
- empty() - Static method in class de.clickism.clickgui.menu.Button
-
Creates a button with an empty icon.
- empty() - Static method in interface de.clickism.clickgui.menu.Icon
-
Creates an empty icon.
G
- get() - Method in interface de.clickism.clickgui.menu.Icon
-
Gets the item stack of this icon.
- getButton(int) - Method in class de.clickism.clickgui.menu.Menu
-
Gets the button at a slot.
- getButton(int) - Method in interface de.clickism.clickgui.menu.MenuBackground
-
Gets the background button at the specified slot.
- getIcon() - Method in class de.clickism.clickgui.menu.Button
-
Gets the icon of this button.
- getInstance() - Static method in class de.clickism.clickgui.menu.MenuManager
-
Gets the instance of the menu manager, or null if no instance was set.
- getInventory() - Method in class de.clickism.clickgui.menu.MenuView
-
Gets the inventory.
- getMenu() - Method in class de.clickism.clickgui.menu.MenuView
-
Gets the menu.
- getMenuManager() - Method in class de.clickism.clickgui.menu.MenuView
-
Gets the menu manager.
- getPlayer() - Method in class de.clickism.clickgui.menu.Menu
-
Gets the player viewing the menu.
- getPlayer() - Method in class de.clickism.clickgui.menu.MenuView
-
Gets the player viewing the menu.
- getSize() - Method in enum class de.clickism.clickgui.menu.MenuType
-
Gets the size of the menu.
- getSupplier() - Method in enum class de.clickism.clickgui.menu.MenuType
-
Gets the inventory supplier for the menu.
H
- handleClick(InventoryClickEvent) - Method in interface de.clickism.clickgui.menu.handler.ClickHandler
-
Handles a click on a menu.
- handleClick(InventoryClickEvent) - Method in class de.clickism.clickgui.menu.handler.StaticClickHandler
- handleClick(InventoryClickEvent, MenuView) - Method in class de.clickism.clickgui.menu.Button
-
Handles the click event for this button.
- handleDrag(InventoryDragEvent) - Method in interface de.clickism.clickgui.menu.handler.ClickHandler
-
Handles the drag on the menu.
- handleDrag(InventoryDragEvent) - Method in class de.clickism.clickgui.menu.handler.StaticClickHandler
- hideAllAttributes() - Method in class de.clickism.clickgui.menu.Button
-
Hides all attributes of this button's icon.
- hideAllAttributes() - Method in interface de.clickism.clickgui.menu.Icon
-
Hides all attributes of this icon.
- hideAttributes() - Method in class de.clickism.clickgui.menu.Button
-
Hides the attributes of this button's icon.
- hideAttributes() - Method in interface de.clickism.clickgui.menu.Icon
-
Hides the attributes of this icon.
- hidePotionEffects() - Method in class de.clickism.clickgui.menu.Button
-
Hides the potion effects of this button's icon.
- hidePotionEffects() - Method in interface de.clickism.clickgui.menu.Icon
-
Hides potion effects of this icon.
I
- icon - Variable in class de.clickism.clickgui.menu.Button
-
The icon of this button.
- Icon - Interface in de.clickism.clickgui.menu
-
Represents the icon of a button.
- immovable - Variable in class de.clickism.clickgui.menu.Button
-
Whether this button is immovable.
- instance - Static variable in class de.clickism.clickgui.menu.MenuManager
-
The instance of the menu manager.
- inventorySupplier - Variable in class de.clickism.clickgui.menu.Menu
-
The supplier for the inventory.
- InventorySupplier - Interface in de.clickism.clickgui.menu
-
Represents a supplier of an
Inventory. - isIllegalDoubleClick(InventoryClickEvent) - Method in class de.clickism.clickgui.menu.handler.StaticClickHandler
-
Checks if the given click is an illegal double click, resulting in items being taken away from the menu.
- isIllegalShiftClick(InventoryClickEvent) - Method in class de.clickism.clickgui.menu.handler.StaticClickHandler
-
Checks if the given click is an illegal shift click, resulting in items being taken away from the menu.
- isValidClick(InventoryClickEvent) - Method in interface de.clickism.clickgui.menu.handler.ClickHandler
-
Checks if a given click is valid.
- isValidClick(InventoryClickEvent) - Method in class de.clickism.clickgui.menu.handler.StaticClickHandler
M
- Menu - Class in de.clickism.clickgui.menu
-
Represents a menu.
- Menu(Player, InventorySupplier, int) - Constructor for class de.clickism.clickgui.menu.Menu
-
Creates a new menu.
- Menu(Player, MenuType) - Constructor for class de.clickism.clickgui.menu.Menu
-
Creates a new menu.
- Menu(Player, InventoryType) - Constructor for class de.clickism.clickgui.menu.Menu
-
Creates a new menu.
- MENU_9X1 - Enum constant in enum class de.clickism.clickgui.menu.MenuType
-
A 9x1 menu.
- MENU_9X2 - Enum constant in enum class de.clickism.clickgui.menu.MenuType
-
A 9x2 menu.
- MENU_9X3 - Enum constant in enum class de.clickism.clickgui.menu.MenuType
-
A 9x3 menu.
- MENU_9X4 - Enum constant in enum class de.clickism.clickgui.menu.MenuType
-
A 9x4 menu.
- MENU_9X5 - Enum constant in enum class de.clickism.clickgui.menu.MenuType
-
A 9x5 menu.
- MenuBackground - Interface in de.clickism.clickgui.menu
-
Represents a background for a menu.
- MenuManager - Class in de.clickism.clickgui.menu
-
Listens for menu clicks and passes them to their active menus.
- MenuManager(JavaPlugin) - Constructor for class de.clickism.clickgui.menu.MenuManager
-
Creates a new menu manager and registers it as a listener.
- MenuType - Enum Class in de.clickism.clickgui.menu
-
Represents types/sizes of menus that can be created.
- MenuView - Class in de.clickism.clickgui.menu
-
Represents a menu view.
- MenuView(Menu, Inventory, MenuManager) - Constructor for class de.clickism.clickgui.menu.MenuView
-
Creates a new menu view.
O
- of(Supplier<Icon>) - Static method in interface de.clickism.clickgui.menu.Icon
-
Creates a dynamic icon from the given icon supplier.
- of(ItemStack) - Static method in interface de.clickism.clickgui.menu.Icon
-
Creates an icon from the given item stack.
- of(Material) - Static method in interface de.clickism.clickgui.menu.Icon
-
Creates an icon from the given material.
- onClick - Variable in class de.clickism.clickgui.menu.Button
-
The action to perform when this button is clicked.
- onClick(Player, MenuView, int) - Method in interface de.clickism.clickgui.menu.ClickAction
-
Called when the button is clicked.
- onClick(InventoryClickEvent) - Method in class de.clickism.clickgui.menu.MenuManager
-
Passes the click event to the active menu.
- onClick(InventoryClickEvent) - Method in class de.clickism.clickgui.menu.MenuView
-
Handles a click event on the menu view.
- onClose - Variable in class de.clickism.clickgui.menu.Menu
-
The action to perform when the menu is closed.
- onClose() - Method in class de.clickism.clickgui.menu.MenuView
-
Handles the closing of the menu view.
- onClose(InventoryCloseEvent) - Method in class de.clickism.clickgui.menu.MenuManager
-
Closes the active menu when the inventory is closed.
- onDisable(PluginDisableEvent) - Method in class de.clickism.clickgui.menu.MenuManager
-
Closes all active menus when the plugin is disabled.
- onDrag(InventoryDragEvent) - Method in class de.clickism.clickgui.menu.MenuManager
-
Passes the drag event to the active menu.
- onDrag(InventoryDragEvent) - Method in class de.clickism.clickgui.menu.MenuView
-
Handles a drag event on the menu view.
- onOpen - Variable in class de.clickism.clickgui.menu.Menu
-
The action to perform when the menu is open.
- open() - Method in class de.clickism.clickgui.menu.Menu
-
Opens the menu using the instance of the menu manager set by
MenuManager.setInstance(MenuManager). - open(Menu) - Method in class de.clickism.clickgui.menu.MenuView
-
Opens the given menu.
- open(MenuManager) - Method in class de.clickism.clickgui.menu.Menu
-
Opens the menu.
- openMenu(Menu) - Method in class de.clickism.clickgui.menu.MenuManager
-
Opens a menu.
P
R
- refresh() - Method in class de.clickism.clickgui.menu.MenuView
-
Refreshes all buttons in the menu.
- refresh(int) - Method in class de.clickism.clickgui.menu.MenuView
-
Refreshes the button at the given slot.
- registerActiveView(MenuView) - Method in class de.clickism.clickgui.menu.MenuManager
-
Registers a menu view.
- reopen() - Method in class de.clickism.clickgui.menu.MenuView
-
Opens the menu of the menu view again.
- runIf(boolean, Consumer<Button>) - Method in class de.clickism.clickgui.menu.Button
-
Runs the consumer on this button if the condition is true.
- runIf(boolean, Consumer<Icon>) - Method in interface de.clickism.clickgui.menu.Icon
-
Runs the consumer if the condition is true.
S
- setBackground(MenuBackground) - Method in class de.clickism.clickgui.menu.Menu
-
Sets the background of the menu.
- setClickHandler(ClickHandler) - Method in class de.clickism.clickgui.menu.Menu
-
Sets the click handler of the menu.
- setInstance(MenuManager) - Static method in class de.clickism.clickgui.menu.MenuManager
-
Sets the instance of the menu manager to be used by the shorthand method
Menu.open(). - setLore(String...) - Method in class de.clickism.clickgui.menu.Button
-
Sets the lore of this button's icon.
- setLore(String...) - Method in interface de.clickism.clickgui.menu.Icon
-
Sets the lore of this icon.
- setLore(List<String>) - Method in class de.clickism.clickgui.menu.Button
-
Sets the lore of this button's icon.
- setLore(List<String>) - Method in interface de.clickism.clickgui.menu.Icon
-
Sets the lore of this icon.
- setMaterial(Material) - Method in class de.clickism.clickgui.menu.Button
-
Sets the material of this button's icon.
- setMaterial(Material) - Method in interface de.clickism.clickgui.menu.Icon
-
Sets the material of this icon.
- setMovable() - Method in class de.clickism.clickgui.menu.Button
-
Marks this button as movable, allowing it to be moved and removed from the inventory.
- setName(String) - Method in class de.clickism.clickgui.menu.Button
-
Sets the name of this button's icon.
- setName(String) - Method in interface de.clickism.clickgui.menu.Icon
-
Sets the name of this icon.
- setOnClick(ClickAction) - Method in class de.clickism.clickgui.menu.Button
-
Sets the action to perform when this button is clicked.
- setOnClick(Consumer<InventoryClickEvent>) - Method in class de.clickism.clickgui.menu.Button
-
Sets the action to perform when this button is clicked.
- setOnClose(Consumer<MenuView>) - Method in class de.clickism.clickgui.menu.Menu
-
Sets the action to perform when the menu is closed.
- setOnOpen(Consumer<MenuView>) - Method in class de.clickism.clickgui.menu.Menu
-
Sets the action to perform when the menu is opened.
- setTitle(String) - Method in class de.clickism.clickgui.menu.Menu
-
Sets the title of the menu.
- size - Variable in class de.clickism.clickgui.menu.Menu
-
The size of the menu.
- StaticClickHandler - Class in de.clickism.clickgui.menu.handler
-
A click handler that does not allow changing the inventory of a menu in any way.
- StaticClickHandler() - Constructor for class de.clickism.clickgui.menu.handler.StaticClickHandler
-
Creates a new static click handler.
T
V
- valueOf(String) - Static method in enum class de.clickism.clickgui.menu.MenuType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.clickism.clickgui.menu.MenuType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withIcon(Icon) - Static method in class de.clickism.clickgui.menu.Button
-
Creates a button with the specified icon.
- withIcon(Supplier<Icon>) - Static method in class de.clickism.clickgui.menu.Button
-
Creates a button with the specified icon supplier.
- withIcon(ItemStack) - Static method in class de.clickism.clickgui.menu.Button
-
Creates a button with the specified item stack as the icon.
- withIcon(Material) - Static method in class de.clickism.clickgui.menu.Button
-
Creates a button with the specified material as the icon.
All Classes and Interfaces|All Packages