Enum FillPatternType

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

    public enum FillPatternType
    extends java.lang.Enum<FillPatternType>
    The enumeration value indicating the style of fill pattern being used for a cell format.
    • Enum Constant Detail

      • SOLID_FOREGROUND

        public static final FillPatternType SOLID_FOREGROUND
        Solidly filled
      • THICK_HORZ_BANDS

        public static final FillPatternType THICK_HORZ_BANDS
        Thick horizontal bands
      • THICK_VERT_BANDS

        public static final FillPatternType THICK_VERT_BANDS
        Thick vertical bands
      • THICK_BACKWARD_DIAG

        public static final FillPatternType THICK_BACKWARD_DIAG
        Thick backward facing diagonals
      • THICK_FORWARD_DIAG

        public static final FillPatternType THICK_FORWARD_DIAG
        Thick forward facing diagonals
      • THIN_HORZ_BANDS

        public static final FillPatternType THIN_HORZ_BANDS
        Thin horizontal bands
      • THIN_VERT_BANDS

        public static final FillPatternType THIN_VERT_BANDS
        Thin vertical bands
      • THIN_BACKWARD_DIAG

        public static final FillPatternType THIN_BACKWARD_DIAG
        Thin backward diagonal
      • THIN_FORWARD_DIAG

        public static final FillPatternType THIN_FORWARD_DIAG
        Thin forward diagonal
    • Method Detail

      • values

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

        public static FillPatternType 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
      • getCode

        public short getCode()