public class HSSFPatternFormatting extends java.lang.Object implements 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| Modifier | Constructor and Description |
|---|---|
protected |
HSSFPatternFormatting(CFRuleBase cfRuleRecord,
HSSFWorkbook workbook) |
| Modifier and Type | Method and Description |
|---|---|
short |
getFillBackgroundColor() |
HSSFColor |
getFillBackgroundColorColor() |
short |
getFillForegroundColor() |
HSSFColor |
getFillForegroundColorColor() |
short |
getFillPattern() |
protected PatternFormatting |
getPatternFormattingBlock() |
void |
setFillBackgroundColor(Color bg) |
void |
setFillBackgroundColor(short bg) |
void |
setFillForegroundColor(Color fg) |
void |
setFillForegroundColor(short fg) |
void |
setFillPattern(short fp) |
protected HSSFPatternFormatting(CFRuleBase cfRuleRecord, HSSFWorkbook workbook)
protected PatternFormatting getPatternFormattingBlock()
public HSSFColor getFillBackgroundColorColor()
getFillBackgroundColorColor in interface PatternFormattingpublic HSSFColor getFillForegroundColorColor()
getFillForegroundColorColor in interface PatternFormattingpublic short getFillBackgroundColor()
getFillBackgroundColor in interface PatternFormattingPatternFormatting.getFillBackgroundColor()public short getFillForegroundColor()
getFillForegroundColor in interface PatternFormattingPatternFormatting.getFillForegroundColor()public short getFillPattern()
getFillPattern in interface PatternFormattingPatternFormatting.getFillPattern()public void setFillBackgroundColor(Color bg)
setFillBackgroundColor in interface PatternFormattingpublic void setFillForegroundColor(Color fg)
setFillForegroundColor in interface PatternFormattingpublic void setFillBackgroundColor(short bg)
setFillBackgroundColor in interface PatternFormattingbg - PatternFormatting.setFillBackgroundColor(int)public void setFillForegroundColor(short fg)
setFillForegroundColor in interface PatternFormattingfg - PatternFormatting.setFillForegroundColor(int)public void setFillPattern(short fp)
setFillPattern in interface PatternFormattingfp - PatternFormatting.setFillPattern(int)Copyright 2021 The Apache Software Foundation or its licensors, as applicable.