Class CommandListBox


public class CommandListBox extends PaginationBox
  • Constructor Details

    • CommandListBox

      public CommandListBox(String title, String pageCommand, String helpCommand)
      Create a new box.
      Parameters:
      title - the title
  • Method Details

    • getComponent

      public com.sk89q.worldedit.util.formatting.text.Component getComponent(int number)
      Specified by:
      getComponent in class PaginationBox
    • getComponentsSize

      public int getComponentsSize()
      Specified by:
      getComponentsSize in class PaginationBox
    • appendCommand

      public void appendCommand(String alias, com.sk89q.worldedit.util.formatting.text.Component description)
    • appendCommand

      @Deprecated public void appendCommand(String alias, String description, String insertion)
      Deprecated.
    • appendCommand

      public void appendCommand(String alias, com.sk89q.worldedit.util.formatting.text.Component description, String insertion)
    • isHidingHelp

      public boolean isHidingHelp()
    • setHidingHelp

      public void setHidingHelp(boolean hideHelp)