Package org.apache.poi.ss.usermodel
Enum FillPatternType
- java.lang.Object
-
- java.lang.Enum<FillPatternType>
-
- org.apache.poi.ss.usermodel.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 Summary
Enum Constants Enum Constant Description ALT_BARS
Wide dotsBIG_SPOTS
Large spotsBRICKS
Brick-like layoutDIAMONDS
DiamondsFINE_DOTS
Small fine dotsLEAST_DOTS
Least DotsLESS_DOTS
Less DotsNO_FILL
No backgroundSOLID_FOREGROUND
Solidly filledSPARSE_DOTS
Sparse dotsSQUARES
SquaresTHICK_BACKWARD_DIAG
Thick backward facing diagonalsTHICK_FORWARD_DIAG
Thick forward facing diagonalsTHICK_HORZ_BANDS
Thick horizontal bandsTHICK_VERT_BANDS
Thick vertical bandsTHIN_BACKWARD_DIAG
Thin backward diagonalTHIN_FORWARD_DIAG
Thin forward diagonalTHIN_HORZ_BANDS
Thin horizontal bandsTHIN_VERT_BANDS
Thin vertical bands
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FillPatternType
forInt(int code)
short
getCode()
static FillPatternType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FillPatternType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 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 namejava.lang.NullPointerException
- if the argument is null
-
getCode
public short getCode()
-
forInt
public static FillPatternType forInt(int code)
-
-