Package org.apache.poi.ss.usermodel
Enum Class FillPatternType
- All Implemented Interfaces:
Serializable
,Comparable<FillPatternType>
,Constable
The enumeration value indicating the style of fill pattern being used for a cell format.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWide dotsLarge spotsBrick-like layoutDiamondsSmall fine dotsLeast DotsLess DotsNo backgroundSolidly filledSparse dotsSquaresThick backward facing diagonalsThick forward facing diagonalsThick horizontal bandsThick vertical bandsThin backward diagonalThin forward diagonalThin horizontal bandsThin vertical bands -
Method Summary
Modifier and TypeMethodDescriptionstatic FillPatternType
forInt
(int code) short
getCode()
static FillPatternType
Returns the enum constant of this class with the specified name.static FillPatternType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_FILL
No background -
SOLID_FOREGROUND
Solidly filled -
FINE_DOTS
Small fine dots -
ALT_BARS
Wide dots -
SPARSE_DOTS
Sparse dots -
THICK_HORZ_BANDS
Thick horizontal bands -
THICK_VERT_BANDS
Thick vertical bands -
THICK_BACKWARD_DIAG
Thick backward facing diagonals -
THICK_FORWARD_DIAG
Thick forward facing diagonals -
BIG_SPOTS
Large spots -
BRICKS
Brick-like layout -
THIN_HORZ_BANDS
Thin horizontal bands -
THIN_VERT_BANDS
Thin vertical bands -
THIN_BACKWARD_DIAG
Thin backward diagonal -
THIN_FORWARD_DIAG
Thin forward diagonal -
SQUARES
Squares -
DIAMONDS
Diamonds -
LESS_DOTS
Less Dots -
LEAST_DOTS
Least Dots
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getCode
public short getCode() -
forInt
-