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 java.lang.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getFillBackgroundColor()
HSSFColor
getFillBackgroundColorColor()
short
getFillForegroundColor()
HSSFColor
getFillForegroundColorColor()
short
getFillPattern()
void
setFillBackgroundColor(short bg)
void
setFillBackgroundColor(Color bg)
void
setFillForegroundColor(short fg)
void
setFillForegroundColor(Color fg)
void
setFillPattern(short fp)
-
-
-
Method Detail
-
getFillBackgroundColorColor
public HSSFColor getFillBackgroundColorColor()
- Specified by:
getFillBackgroundColorColor
in interfacePatternFormatting
-
getFillForegroundColorColor
public HSSFColor getFillForegroundColorColor()
- Specified by:
getFillForegroundColorColor
in interfacePatternFormatting
-
getFillBackgroundColor
public short getFillBackgroundColor()
- Specified by:
getFillBackgroundColor
in interfacePatternFormatting
- See Also:
PatternFormatting.getFillBackgroundColor()
-
getFillForegroundColor
public short getFillForegroundColor()
- Specified by:
getFillForegroundColor
in interfacePatternFormatting
- See Also:
PatternFormatting.getFillForegroundColor()
-
getFillPattern
public short getFillPattern()
- Specified by:
getFillPattern
in interfacePatternFormatting
- See Also:
PatternFormatting.getFillPattern()
-
setFillBackgroundColor
public void setFillBackgroundColor(Color bg)
- Specified by:
setFillBackgroundColor
in interfacePatternFormatting
-
setFillForegroundColor
public void setFillForegroundColor(Color fg)
- Specified by:
setFillForegroundColor
in interfacePatternFormatting
-
setFillBackgroundColor
public void setFillBackgroundColor(short bg)
- Specified by:
setFillBackgroundColor
in interfacePatternFormatting
- Parameters:
bg
-- See Also:
PatternFormatting.setFillBackgroundColor(int)
-
setFillForegroundColor
public void setFillForegroundColor(short fg)
- Specified by:
setFillForegroundColor
in interfacePatternFormatting
- Parameters:
fg
-- See Also:
PatternFormatting.setFillForegroundColor(int)
-
setFillPattern
public void setFillPattern(short fp)
- Specified by:
setFillPattern
in interfacePatternFormatting
- Parameters:
fp
-- See Also:
PatternFormatting.setFillPattern(int)
-
-