Package org.apache.poi.hssf.usermodel
Class HSSFPatternFormatting
- java.lang.Object
-
- org.apache.poi.hssf.usermodel.HSSFPatternFormatting
-
- All Implemented Interfaces:
PatternFormatting
public class HSSFPatternFormatting extends Object implements 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
Constructors Modifier Constructor Description protectedHSSFPatternFormatting(CFRuleBase cfRuleRecord, HSSFWorkbook workbook)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetFillBackgroundColor()HSSFColorgetFillBackgroundColorColor()shortgetFillForegroundColor()HSSFColorgetFillForegroundColorColor()shortgetFillPattern()protected PatternFormattinggetPatternFormattingBlock()voidsetFillBackgroundColor(short bg)voidsetFillBackgroundColor(Color bg)voidsetFillForegroundColor(short fg)voidsetFillForegroundColor(Color fg)voidsetFillPattern(short fp)
-
-
-
Constructor Detail
-
HSSFPatternFormatting
protected HSSFPatternFormatting(CFRuleBase cfRuleRecord, HSSFWorkbook workbook)
-
-
Method Detail
-
getPatternFormattingBlock
protected PatternFormatting getPatternFormattingBlock()
-
getFillBackgroundColorColor
public HSSFColor getFillBackgroundColorColor()
- Specified by:
getFillBackgroundColorColorin interfacePatternFormatting
-
getFillForegroundColorColor
public HSSFColor getFillForegroundColorColor()
- Specified by:
getFillForegroundColorColorin interfacePatternFormatting
-
getFillBackgroundColor
public short getFillBackgroundColor()
- Specified by:
getFillBackgroundColorin interfacePatternFormatting- See Also:
PatternFormatting.getFillBackgroundColor()
-
getFillForegroundColor
public short getFillForegroundColor()
- Specified by:
getFillForegroundColorin interfacePatternFormatting- See Also:
PatternFormatting.getFillForegroundColor()
-
getFillPattern
public short getFillPattern()
- Specified by:
getFillPatternin interfacePatternFormatting- See Also:
PatternFormatting.getFillPattern()
-
setFillBackgroundColor
public void setFillBackgroundColor(Color bg)
- Specified by:
setFillBackgroundColorin interfacePatternFormatting
-
setFillForegroundColor
public void setFillForegroundColor(Color fg)
- Specified by:
setFillForegroundColorin interfacePatternFormatting
-
setFillBackgroundColor
public void setFillBackgroundColor(short bg)
- Specified by:
setFillBackgroundColorin interfacePatternFormatting- See Also:
PatternFormatting.setFillBackgroundColor(int)
-
setFillForegroundColor
public void setFillForegroundColor(short fg)
- Specified by:
setFillForegroundColorin interfacePatternFormatting- See Also:
PatternFormatting.setFillForegroundColor(int)
-
setFillPattern
public void setFillPattern(short fp)
- Specified by:
setFillPatternin interfacePatternFormatting- See Also:
PatternFormatting.setFillPattern(int)
-
-