Package org.apache.poi.xssf.usermodel
Class XSSFColorScaleFormatting
java.lang.Object
org.apache.poi.xssf.usermodel.XSSFColorScaleFormatting
- All Implemented Interfaces:
ColorScaleFormatting
High level representation for Color Scale / Color Gradient Formatting
component of Conditional Formatting settings
-
Method Summary
Modifier and TypeMethodDescriptionintvoidvoidsetNumControlPoints(int num) voidsetThresholds(ConditionalFormattingThreshold[] thresholds)
-
Method Details
-
getNumControlPoints
public int getNumControlPoints()- Specified by:
getNumControlPointsin interfaceColorScaleFormatting
-
setNumControlPoints
public void setNumControlPoints(int num) - Specified by:
setNumControlPointsin interfaceColorScaleFormatting
-
getColors
- Specified by:
getColorsin interfaceColorScaleFormatting
-
setColors
- Specified by:
setColorsin interfaceColorScaleFormatting
-
getThresholds
- Specified by:
getThresholdsin interfaceColorScaleFormatting
-
setThresholds
- Specified by:
setThresholdsin interfaceColorScaleFormatting
-
createColor
- Returns:
- color from scale
-
createThreshold
- Specified by:
createThresholdin interfaceColorScaleFormatting
-