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