Enum Class Bank.Component

java.lang.Object
java.lang.Enum<Bank.Component>
net.storm.sdk.items.Bank.Component
All Implemented Interfaces:
Serializable, Comparable<Bank.Component>, Constable
Enclosing class:
Bank

public static enum Bank.Component extends Enum<Bank.Component>
Enumeration of bank interface widget components.

These represent the various buttons and containers within the bank interface.

  • Enum Constant Details

    • BANK_REARRANGE_SWAP

      public static final Bank.Component BANK_REARRANGE_SWAP
      Button to enable swap rearrange mode
    • BANK_REARRANGE_INSERT

      public static final Bank.Component BANK_REARRANGE_INSERT
      Button to enable insert rearrange mode
    • BANK_WITHDRAW_ITEM

      public static final Bank.Component BANK_WITHDRAW_ITEM
      Button to withdraw items as regular items
    • BANK_WITHDRAW_NOTE

      public static final Bank.Component BANK_WITHDRAW_NOTE
      Button to withdraw items as notes
    • BANK_QUANTITY_BUTTONS_CONTAINER

      public static final Bank.Component BANK_QUANTITY_BUTTONS_CONTAINER
      Container holding quantity buttons
    • BANK_QUANTITY_ONE

      public static final Bank.Component BANK_QUANTITY_ONE
      Button to set quantity to 1
    • BANK_QUANTITY_FIVE

      public static final Bank.Component BANK_QUANTITY_FIVE
      Button to set quantity to 5
    • BANK_QUANTITY_TEN

      public static final Bank.Component BANK_QUANTITY_TEN
      Button to set quantity to 10
    • BANK_QUANTITY_X

      public static final Bank.Component BANK_QUANTITY_X
      Button to set quantity to X (custom)
    • BANK_QUANTITY_ALL

      public static final Bank.Component BANK_QUANTITY_ALL
      Button to set quantity to All
    • BANK_PLACEHOLDERS_BUTTON

      public static final Bank.Component BANK_PLACEHOLDERS_BUTTON
      Button to toggle placeholders
    • EMPTY

      public static final Bank.Component EMPTY
      Empty/invalid component
  • Method Details

    • values

      public static Bank.Component[] 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 Bank.Component 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