Enum Size

    • Enum Constant Detail

      • sm

        public static final Size sm
      • md

        public static final Size md
      • lg

        public static final Size lg
      • xl

        public static final Size xl
      • _2xl

        public static final Size _2xl
      • _3xl

        public static final Size _3xl
      • _4xl

        public static final Size _4xl
    • Field Detail

      • value

        public final String value
      • modifier

        public final String modifier
    • Method Detail

      • values

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

        public static Size valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null