Class StringEditMenu
java.lang.Object
us.talabrek.ultimateskyblock.menu.AbstractConfigMenu
us.talabrek.ultimateskyblock.menu.StringEditMenu
- All Implemented Interfaces:
EditMenu
Complex editor for string values (only simple keyboard, no extended).
-
Constructor Summary
ConstructorDescriptionStringEditMenu
(dk.lockfuglsang.minecraft.yml.YmlConfiguration menuConfig, EditMenu parent) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.Inventory
createEditMenu
(String configName, String path, int page) Creates an edit menu for this type.boolean
onClick
(org.bukkit.event.inventory.InventoryClickEvent e) Returns true if the action belonged to the menu.Methods inherited from class us.talabrek.ultimateskyblock.menu.AbstractConfigMenu
getMenuConfig
-
Constructor Details
-
Method Details
-
onClick
public boolean onClick(org.bukkit.event.inventory.InventoryClickEvent e) Description copied from interface:EditMenu
Returns true if the action belonged to the menu. -
createEditMenu
Description copied from interface:EditMenu
Creates an edit menu for this type.- Specified by:
createEditMenu
in interfaceEditMenu
- Parameters:
configName
- Configuration name (filename)path
- Path to nodepage
- The page to show (for multi-page editors)- Returns:
- An editor or
null
if this is not the right edit-menu.
-