Package net.storm.sdk.items
Enum Class Bank.Component
- All Implemented Interfaces:
Serializable,Comparable<Bank.Component>,Constable
- Enclosing class:
Bank
Enumeration of bank interface widget components.
These represent the various buttons and containers within the bank interface.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionButton to toggle placeholdersButton to set quantity to AllContainer holding quantity buttonsButton to set quantity to 5Button to set quantity to 1Button to set quantity to 10Button to set quantity to X (custom)Button to enable insert rearrange modeButton to enable swap rearrange modeButton to withdraw items as regular itemsButton to withdraw items as notesEmpty/invalid component -
Method Summary
Modifier and TypeMethodDescriptionstatic Bank.ComponentReturns the enum constant of this class with the specified name.static Bank.Component[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BANK_REARRANGE_SWAP
Button to enable swap rearrange mode -
BANK_REARRANGE_INSERT
Button to enable insert rearrange mode -
BANK_WITHDRAW_ITEM
Button to withdraw items as regular items -
BANK_WITHDRAW_NOTE
Button to withdraw items as notes -
BANK_QUANTITY_BUTTONS_CONTAINER
Container holding quantity buttons -
BANK_QUANTITY_ONE
Button to set quantity to 1 -
BANK_QUANTITY_FIVE
Button to set quantity to 5 -
BANK_QUANTITY_TEN
Button to set quantity to 10 -
BANK_QUANTITY_X
Button to set quantity to X (custom) -
BANK_QUANTITY_ALL
Button to set quantity to All -
BANK_PLACEHOLDERS_BUTTON
Button to toggle placeholders -
EMPTY
Empty/invalid component
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-