Enum Magic.Filter

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Magic.Filter>
    Enclosing class:
    Magic

    public static enum Magic.Filter
    extends java.lang.Enum<Magic.Filter>
    • Enum Constant Detail

      • SHOW_COMBAT_SPELLS

        public static final Magic.Filter SHOW_COMBAT_SPELLS
      • SHOW_TELEPORT_SPELLS

        public static final Magic.Filter SHOW_TELEPORT_SPELLS
      • SHOW_UTILITY_SPELLS

        public static final Magic.Filter SHOW_UTILITY_SPELLS
      • SHOW_MISSING_LEVEL

        public static final Magic.Filter SHOW_MISSING_LEVEL
      • SHOW_MISSING_RUNES

        public static final Magic.Filter SHOW_MISSING_RUNES
      • SHOW_MISSING_REQUIREMENTS

        public static final Magic.Filter SHOW_MISSING_REQUIREMENTS
      • ICON_RESIZING

        public static final Magic.Filter ICON_RESIZING
    • Method Detail

      • values

        public static Magic.Filter[] 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 (Magic.Filter c : Magic.Filter.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Magic.Filter 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
      • isEnabled

        public boolean isEnabled()