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 PatternFormatting
public HSSFColor getFillForegroundColorColor()
getFillForegroundColorColor
in interface PatternFormatting
public short getFillBackgroundColor()
getFillBackgroundColor
in interface PatternFormatting
PatternFormatting.getFillBackgroundColor()
public short getFillForegroundColor()
getFillForegroundColor
in interface PatternFormatting
PatternFormatting.getFillForegroundColor()
public short getFillPattern()
getFillPattern
in interface PatternFormatting
PatternFormatting.getFillPattern()
public void setFillBackgroundColor(Color bg)
setFillBackgroundColor
in interface PatternFormatting
public void setFillForegroundColor(Color fg)
setFillForegroundColor
in interface PatternFormatting
public void setFillBackgroundColor(short bg)
setFillBackgroundColor
in interface PatternFormatting
PatternFormatting.setFillBackgroundColor(int)
public void setFillForegroundColor(short fg)
setFillForegroundColor
in interface PatternFormatting
PatternFormatting.setFillForegroundColor(int)
public void setFillPattern(short fp)
setFillPattern
in interface PatternFormatting
PatternFormatting.setFillPattern(int)
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.