Package org.apache.poi.hssf.usermodel
Class HSSFPatternFormatting
java.lang.Object
org.apache.poi.hssf.usermodel.HSSFPatternFormatting
- All Implemented Interfaces:
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
ConstructorsModifierConstructorDescriptionprotectedHSSFPatternFormatting(CFRuleBase cfRuleRecord, HSSFWorkbook workbook) -
Method Summary
Modifier and TypeMethodDescriptionshortshortshortprotected PatternFormattingvoidsetFillBackgroundColor(short bg) voidvoidsetFillForegroundColor(short fg) voidvoidsetFillPattern(short fp)
-
Constructor Details
-
HSSFPatternFormatting
-
-
Method Details
-
getPatternFormattingBlock
-
getFillBackgroundColorColor
- Specified by:
getFillBackgroundColorColorin interfacePatternFormatting
-
getFillForegroundColorColor
- Specified by:
getFillForegroundColorColorin interfacePatternFormatting
-
getFillBackgroundColor
public short getFillBackgroundColor()- Specified by:
getFillBackgroundColorin interfacePatternFormatting- See Also:
-
getFillForegroundColor
public short getFillForegroundColor()- Specified by:
getFillForegroundColorin interfacePatternFormatting- See Also:
-
getFillPattern
public short getFillPattern()- Specified by:
getFillPatternin interfacePatternFormatting- See Also:
-
setFillBackgroundColor
- Specified by:
setFillBackgroundColorin interfacePatternFormatting
-
setFillForegroundColor
- Specified by:
setFillForegroundColorin interfacePatternFormatting
-
setFillBackgroundColor
public void setFillBackgroundColor(short bg) - Specified by:
setFillBackgroundColorin interfacePatternFormatting- Parameters:
bg-- See Also:
-
setFillForegroundColor
public void setFillForegroundColor(short fg) - Specified by:
setFillForegroundColorin interfacePatternFormatting- Parameters:
fg-- See Also:
-
setFillPattern
public void setFillPattern(short fp) - Specified by:
setFillPatternin interfacePatternFormatting- Parameters:
fp-- See Also:
-