Package org.apache.poi.hssf.usermodel
Class HSSFPatternFormatting
java.lang.Object
org.apache.poi.hssf.usermodel.HSSFPatternFormatting
- All Implemented Interfaces:
PatternFormatting
High level representation for Conditional Formatting settings
-
Field Summary
Fields inherited from interface org.apache.poi.ss.usermodel.PatternFormatting
ALT_BARS, BIG_SPOTS, BRICKS, DIAMONDS, FINE_DOTS, LEAST_DOTS, LESS_DOTS, NO_FILL, SOLID_FOREGROUND, SPARSE_DOTS, SQUARES, THICK_BACKWARD_DIAG, THICK_FORWARD_DIAG, THICK_HORZ_BANDS, THICK_VERT_BANDS, THIN_BACKWARD_DIAG, THIN_FORWARD_DIAG, THIN_HORZ_BANDS, THIN_VERT_BANDS
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
HSSFPatternFormatting
(CFRuleBase cfRuleRecord, HSSFWorkbook workbook) -
Method Summary
Modifier and TypeMethodDescriptionshort
short
short
protected PatternFormatting
void
setFillBackgroundColor
(short bg) void
void
setFillForegroundColor
(short fg) void
void
setFillPattern
(short fp)
-
Constructor Details
-
HSSFPatternFormatting
-
-
Method Details
-
getPatternFormattingBlock
-
getFillBackgroundColorColor
- Specified by:
getFillBackgroundColorColor
in interfacePatternFormatting
-
getFillForegroundColorColor
- Specified by:
getFillForegroundColorColor
in interfacePatternFormatting
-
getFillBackgroundColor
public short getFillBackgroundColor()- Specified by:
getFillBackgroundColor
in interfacePatternFormatting
- See Also:
-
getFillForegroundColor
public short getFillForegroundColor()- Specified by:
getFillForegroundColor
in interfacePatternFormatting
- See Also:
-
getFillPattern
public short getFillPattern()- Specified by:
getFillPattern
in interfacePatternFormatting
- See Also:
-
setFillBackgroundColor
- Specified by:
setFillBackgroundColor
in interfacePatternFormatting
-
setFillForegroundColor
- Specified by:
setFillForegroundColor
in interfacePatternFormatting
-
setFillBackgroundColor
public void setFillBackgroundColor(short bg) - Specified by:
setFillBackgroundColor
in interfacePatternFormatting
- Parameters:
bg
-- See Also:
-
setFillForegroundColor
public void setFillForegroundColor(short fg) - Specified by:
setFillForegroundColor
in interfacePatternFormatting
- Parameters:
fg
-- See Also:
-
setFillPattern
public void setFillPattern(short fp) - Specified by:
setFillPattern
in interfacePatternFormatting
- Parameters:
fp
-- See Also:
-