Enum Class SimpleMenu.RowsStyle

java.lang.Object
java.lang.Enum<SimpleMenu.RowsStyle>
net.joseplay.allianceutils.api.menu.SimpleMenu.RowsStyle
All Implemented Interfaces:
Serializable, Comparable<SimpleMenu.RowsStyle>, Constable
Enclosing class:
SimpleMenu

public static enum SimpleMenu.RowsStyle extends Enum<SimpleMenu.RowsStyle>
  • Enum Constant Details

    • COMPACT

      public static final SimpleMenu.RowsStyle COMPACT
      Compacto, itens bem agrupados no meio
    • COMPACT_XADREZ

      public static final SimpleMenu.RowsStyle COMPACT_XADREZ
    • FULL

      public static final SimpleMenu.RowsStyle FULL
      Grade cheia (aproveita todos os slots do inventário, exceto os botões)
    • XADREZ_THREE_LINES

      public static final SimpleMenu.RowsStyle XADREZ_THREE_LINES
    • HORIZONTAL_BAR_THREE_LINES

      public static final SimpleMenu.RowsStyle HORIZONTAL_BAR_THREE_LINES
    • HORIZONTAL_BAR

      public static final SimpleMenu.RowsStyle HORIZONTAL_BAR
      Linha única (para menus simples, tipo barra horizontal)
    • BORDER

      public static final SimpleMenu.RowsStyle BORDER
      Grade em "anel" (borda, deixando o centro vazio)
    • BOOK

      public static final SimpleMenu.RowsStyle BOOK
      Layout estilo "livro" (2 páginas centrais, botões laterais)
  • Method Details

    • values

      public static SimpleMenu.RowsStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SimpleMenu.RowsStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSlots

      public List<Integer> getSlots()
    • getRows

      public SimpleMenu.Rows getRows()
    • getPreviusPage

      public int getPreviusPage()
    • getNextPage

      public int getNextPage()