Enum Class FillPatternType

java.lang.Object
java.lang.Enum<FillPatternType>
org.apache.poi.ss.usermodel.FillPatternType
All Implemented Interfaces:
Serializable, Comparable<FillPatternType>, Constable

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

    • NO_FILL

      public static final FillPatternType NO_FILL
      No background
    • SOLID_FOREGROUND

      public static final FillPatternType SOLID_FOREGROUND
      Solidly filled
    • FINE_DOTS

      public static final FillPatternType FINE_DOTS
      Small fine dots
    • ALT_BARS

      public static final FillPatternType ALT_BARS
      Wide dots
    • SPARSE_DOTS

      public static final FillPatternType SPARSE_DOTS
      Sparse dots
    • 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
    • BIG_SPOTS

      public static final FillPatternType BIG_SPOTS
      Large spots
    • BRICKS

      public static final FillPatternType BRICKS
      Brick-like layout
    • 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
    • SQUARES

      public static final FillPatternType SQUARES
      Squares
    • DIAMONDS

      public static final FillPatternType DIAMONDS
      Diamonds
    • LESS_DOTS

      public static final FillPatternType LESS_DOTS
      Less Dots
    • LEAST_DOTS

      public static final FillPatternType LEAST_DOTS
      Least Dots
  • Method Details

    • values

      public static FillPatternType[] 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

      public static FillPatternType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public short getCode()
    • forInt

      public static FillPatternType forInt(int code)