| Constructor and Description |
|---|
ActionApplier(Menu menu,
Object value)
Create a new action applier
|
ClickActionHandler(Menu menu,
Map<me.hsgamer.hscore.bukkit.clicktype.AdvancedClickType,ActionApplier> actionMap,
boolean closeOnClick)
Create a new click action handler
|
ClickActionHandler(Menu menu,
Object o,
boolean closeOnClick)
Create a new click action handler
|
| Modifier and Type | Method and Description |
|---|---|
Menu |
BackAction.getMenu() |
Menu |
CloseMenuAction.getMenu() |
Menu |
UpdateMenuAction.getMenu() |
| Constructor and Description |
|---|
BackAction(Menu menu) |
CloseMenuAction(Menu menu) |
UpdateMenuAction(Menu menu) |
| Modifier and Type | Method and Description |
|---|---|
Menu |
BaseAction.getMenu() |
| Modifier and Type | Field and Description |
|---|---|
protected Menu |
BaseWrappedButton.menu |
| Modifier and Type | Method and Description |
|---|---|
Menu |
BaseWrappedButton.getMenu() |
| Modifier and Type | Method and Description |
|---|---|
Menu |
MenuElement.getMenu()
Get the menu containing the element
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Menu> |
Menu.getParentMenu(UUID uuid)
Get the former menu that opened this menu
|
| Modifier and Type | Method and Description |
|---|---|
void |
Menu.setParentMenu(UUID uuid,
Menu menu)
Set the former menu
|
| Modifier and Type | Method and Description |
|---|---|
Menu |
BaseRequirement.getMenu() |
| Modifier and Type | Field and Description |
|---|---|
Menu |
ActionBuilder.Input.menu |
Menu |
RequirementBuilder.Input.menu |
Menu |
ButtonBuilder.Input.menu |
| Modifier and Type | Method and Description |
|---|---|
List<Action> |
ActionBuilder.build(Menu menu,
Object object)
Build a list of actions
|
| Modifier and Type | Method and Description |
|---|---|
void |
MenuBuilder.register(Function<me.hsgamer.hscore.config.Config,Menu> creator,
String... type)
Register a new menu creator
|
| Constructor and Description |
|---|
Input(Menu menu,
String name,
Map<String,Object> options)
Create a new input
|
Input(Menu menu,
String type,
String value)
Create a new input
|
Input(Menu menu,
String type,
String name,
Object value)
Create a new input
|
| Modifier and Type | Method and Description |
|---|---|
Menu |
MenuManager.getMenu(String name)
Get the menu
|
| Modifier and Type | Method and Description |
|---|---|
static List<Menu> |
MenuManager.getAllParentMenu(Menu menu,
UUID uuid)
Get all parent menus from a menu
|
| Modifier and Type | Method and Description |
|---|---|
static List<Menu> |
MenuManager.getAllParentMenu(Menu menu,
UUID uuid)
Get all parent menus from a menu
|
void |
MenuManager.openMenu(String name,
org.bukkit.entity.Player player,
String[] args,
Menu parentMenu,
boolean bypass)
Open the menu for the player
|
void |
MenuCommandManager.registerMenuCommand(String command,
Menu menu)
Register the command that opens the menu
|
| Modifier and Type | Class and Description |
|---|---|
class |
AddonMenu |
class |
ArgumentMenu |
class |
BaseInventoryMenu<B extends me.hsgamer.hscore.bukkit.gui.button.ButtonMap> |
class |
PredicateMenu |
class |
SimpleMenu |
| Modifier and Type | Method and Description |
|---|---|
Menu |
RequirementSet.getMenu() |
| Constructor and Description |
|---|
RequirementApplier(Menu menu,
String name,
Map<String,Object> section)
Create a new requirement applier
|
RequirementSet(Menu menu,
String name,
Map<String,Object> section)
Create a new requirement set
|
| Modifier and Type | Method and Description |
|---|---|
static me.hsgamer.hscore.bukkit.item.ItemBuilder |
StringReplacerApplier.apply(me.hsgamer.hscore.bukkit.item.ItemBuilder itemBuilder,
Menu menu)
Apply the string replacers to the item builder
|
static String |
StringReplacerApplier.replace(String string,
UUID uuid,
Menu menu)
Apply the string replacers to the string
|
Copyright © 2023. All rights reserved.