Enum Class ButtonType

java.lang.Object
java.lang.Enum<ButtonType>
fr.maxlego08.zauctionhouse.api.enums.ButtonType
All Implemented Interfaces:
Serializable, Comparable<ButtonType>, Constable

public enum ButtonType extends Enum<ButtonType>
  • Enum Constant Details

    • NONE

      public static final ButtonType NONE
    • NONE_SLOT

      public static final ButtonType NONE_SLOT
    • BACK

      public static final ButtonType BACK
    • NEXT

      public static final ButtonType NEXT
    • HOME

      public static final ButtonType HOME
    • PREVIOUS

      public static final ButtonType PREVIOUS
    • INVENTORY

      public static final ButtonType INVENTORY
    • PERFORM_COMMAND

      public static final ButtonType PERFORM_COMMAND
    • AUCTION_ITEM

      public static final ButtonType AUCTION_ITEM
    • BUY_INVENTORY

      public static final ButtonType BUY_INVENTORY
    • SHOW_ITEM

      public static final ButtonType SHOW_ITEM
    • REMOVE_ITEM

      public static final ButtonType REMOVE_ITEM
    • BUY_ITEM

      public static final ButtonType BUY_ITEM
    • CHANGE_SORT

      public static final ButtonType CHANGE_SORT
    • CATEGORIES

      public static final ButtonType CATEGORIES
    • REMOVE_ALL

      public static final ButtonType REMOVE_ALL
    • SELL_INVENTORY_SLOT

      public static final ButtonType SELL_INVENTORY_SLOT
    • SELL_INVENTORY_ACCEPT

      public static final ButtonType SELL_INVENTORY_ACCEPT
    • SELL_INVENTORY_CANCEL

      public static final ButtonType SELL_INVENTORY_CANCEL
    • SELL_INVENTORY_BUY

      public static final ButtonType SELL_INVENTORY_BUY
    • CLAIM

      public static final ButtonType CLAIM
    • ADMIN_REMOVE

      public static final ButtonType ADMIN_REMOVE
    • SHOW_SLOT

      public static final ButtonType SHOW_SLOT
  • Method Details

    • values

      public static ButtonType[] 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 ButtonType 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
    • from

      public static ButtonType from(String string, String inventoryName, String real) throws ButtonTypeException
      Parameters:
      string -
      inventoryName -
      Returns:
      Throws:
      ButtonTypeException
    • isClickable

      public boolean isClickable()
    • isSlots

      public boolean isSlots()
    • isOtherClick

      public boolean isOtherClick()
    • isAuction

      public boolean isAuction()
    • isNeedItems

      public boolean isNeedItems()
    • isPageChange

      public boolean isPageChange()
    • isPermament

      public boolean isPermament()