public class HSSFPatternFormatting extends 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(CFRuleRecord cfRuleRecord) |
Modifier and Type | Method and Description |
---|---|
short |
getFillBackgroundColor() |
short |
getFillForegroundColor() |
short |
getFillPattern() |
protected PatternFormatting |
getPatternFormattingBlock() |
void |
setFillBackgroundColor(short bg) |
void |
setFillForegroundColor(short fg) |
void |
setFillPattern(short fp) |
protected HSSFPatternFormatting(CFRuleRecord cfRuleRecord)
protected PatternFormatting getPatternFormattingBlock()
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(short bg)
setFillBackgroundColor
in interface PatternFormatting
bg
- PatternFormatting.setFillBackgroundColor(int)
public void setFillForegroundColor(short fg)
setFillForegroundColor
in interface PatternFormatting
fg
- PatternFormatting.setFillForegroundColor(int)
public void setFillPattern(short fp)
setFillPattern
in interface PatternFormatting
fp
- PatternFormatting.setFillPattern(int)
Copyright © 2020. All rights reserved.