Uses of Class
net.tnemc.menu.core.handlers.MenuClickHandler
Package
Description
-
Uses of MenuClickHandler in net.tnemc.menu.core
Modifier and TypeMethodDescriptionboolean
Menu.onClick
(MenuClickHandler handler) Handles a click action for a specific viewer identified by its UUID.boolean
Page.onClick
(MenuClickHandler handler) Handles a click action for a specific viewer identified by its UUID.boolean
PlayerInstancePage.onClick
(UUID player, MenuClickHandler handler) Handles a click action for a specific viewer identified by its UUID.Modifier and TypeMethodDescriptionvoid
Page.setClickHandler
(Function<MenuClickHandler, Boolean> clickHandler) -
Uses of MenuClickHandler in net.tnemc.menu.core.builder
Modifier and TypeFieldDescriptionprivate Consumer<MenuClickHandler>
IconBuilder.click
private Function<MenuClickHandler,
Boolean> PageBuilder.clickHandler
private Function<MenuClickHandler,
Boolean> PlayerPageBuilder.clickHandler
Modifier and TypeMethodDescriptionIconBuilder.withClick
(Consumer<MenuClickHandler> click) Sets the click handler for the icon.PageBuilder.withClickHandler
(Function<MenuClickHandler, Boolean> clickHandler) Sets the click handler for the page.PlayerPageBuilder.withClickHandler
(Function<MenuClickHandler, Boolean> clickHandler) Sets the click handler for the page. -
Uses of MenuClickHandler in net.tnemc.menu.core.icon
-
Uses of MenuClickHandler in net.tnemc.menu.core.icon.action
Modifier and TypeMethodDescriptionabstract boolean
IconAction.onClick
(MenuClickHandler handler) Handles the click action for the icon using the providedMenuClickHandler
. -
Uses of MenuClickHandler in net.tnemc.menu.core.icon.action.impl
Modifier and TypeFieldDescriptionprivate final Consumer<MenuClickHandler>
RunnableAction.consumer
Modifier and TypeMethodDescriptionboolean
ChatAction.onClick
(MenuClickHandler handler) Handles the click action for the icon using the providedMenuClickHandler
.boolean
DataAction.onClick
(MenuClickHandler handler) Handles the click action for the icon using the providedMenuClickHandler
.boolean
RunnableAction.onClick
(MenuClickHandler handler) Handles the click action for the icon using the providedMenuClickHandler
.boolean
SwitchMenuAction.onClick
(MenuClickHandler handler) Handles the click action for the icon using the providedMenuClickHandler
.boolean
SwitchPageAction.onClick
(MenuClickHandler handler) Handles the click action for the icon using the providedMenuClickHandler
.ModifierConstructorDescriptionRunnableAction
(Consumer<MenuClickHandler> consumer) RunnableAction
(Consumer<MenuClickHandler> consumer, ActionType type) -
Uses of MenuClickHandler in net.tnemc.menu.core.icon.impl