Package org.apache.poi.ss.usermodel
Enum FillPatternType
- java.lang.Object
-
- java.lang.Enum<FillPatternType>
-
- org.apache.poi.ss.usermodel.FillPatternType
-
- All Implemented Interfaces:
Serializable,Comparable<FillPatternType>
public enum FillPatternType extends 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_BARSWide dotsBIG_SPOTSLarge spotsBRICKSBrick-like layoutDIAMONDSDiamondsFINE_DOTSSmall fine dotsLEAST_DOTSLeast DotsLESS_DOTSLess DotsNO_FILLNo backgroundSOLID_FOREGROUNDSolidly filledSPARSE_DOTSSparse dotsSQUARESSquaresTHICK_BACKWARD_DIAGThick backward facing diagonalsTHICK_FORWARD_DIAGThick forward facing diagonalsTHICK_HORZ_BANDSThick horizontal bandsTHICK_VERT_BANDSThick vertical bandsTHIN_BACKWARD_DIAGThin backward diagonalTHIN_FORWARD_DIAGThin forward diagonalTHIN_HORZ_BANDSThin horizontal bandsTHIN_VERT_BANDSThin vertical bands
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FillPatternTypeforInt(int code)shortgetCode()static FillPatternTypevalueOf(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(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 nameNullPointerException- if the argument is null
-
getCode
public short getCode()
-
forInt
public static FillPatternType forInt(int code)
-
-