Class StringEditMenu

java.lang.Object
us.talabrek.ultimateskyblock.menu.AbstractConfigMenu
us.talabrek.ultimateskyblock.menu.StringEditMenu
All Implemented Interfaces:
EditMenu

public class StringEditMenu extends AbstractConfigMenu implements EditMenu
Complex editor for string values (only simple keyboard, no extended).
  • Constructor Details

    • StringEditMenu

      public StringEditMenu(dk.lockfuglsang.minecraft.yml.YmlConfiguration menuConfig, EditMenu parent)
  • 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.
      Specified by:
      onClick in interface EditMenu
      Parameters:
      e - A click on an item, not sure if it belongs on this menu.
      Returns:
      true if no further processing is needed.
    • createEditMenu

      public org.bukkit.inventory.Inventory createEditMenu(String configName, String path, int page)
      Description copied from interface: EditMenu
      Creates an edit menu for this type.
      Specified by:
      createEditMenu in interface EditMenu
      Parameters:
      configName - Configuration name (filename)
      path - Path to node
      page - The page to show (for multi-page editors)
      Returns:
      An editor or null if this is not the right edit-menu.