Enum BankTab

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BankTab>

    public enum BankTab
    extends java.lang.Enum<BankTab>
    Enum holding Bank Tab information such as configs and widget ID's
    • Enum Constant Detail

      • MAIN_TAB

        public static final BankTab MAIN_TAB
      • FIRST_TAB

        public static final BankTab FIRST_TAB
      • SECOND_TAB

        public static final BankTab SECOND_TAB
      • THIRD_TAB

        public static final BankTab THIRD_TAB
      • FOURTH_TAB

        public static final BankTab FOURTH_TAB
      • FIFTH_TAB

        public static final BankTab FIFTH_TAB
      • SIXTH_TAB

        public static final BankTab SIXTH_TAB
      • SEVENTH_TAB

        public static final BankTab SEVENTH_TAB
      • EIGHTH_TAB

        public static final BankTab EIGHTH_TAB
      • NINTH_TAB

        public static final BankTab NINTH_TAB
    • Method Detail

      • values

        public static BankTab[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BankTab c : BankTab.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BankTab valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getID

        public int getID()
        Gets the ID of the BankTab
        Returns:
        ID of the BankTab
      • getChild

        public int getChild()
        Gets the grand child WidgetChild ID of the BankTab
        Returns:
        Id of the grand child of the bank tab
      • getConfig

        public int getConfig()
        Gets the config value for the BankTab
        Returns:
        Integer value of the config for the BankTab
      • isOpen

        public boolean isOpen()
      • count

        public int count()
      • open

        public boolean open()
      • getOpen

        public static BankTab getOpen()