public class XSSFColorScaleFormatting extends java.lang.Object implements ColorScaleFormatting
| Modifier and Type | Method and Description |
|---|---|
XSSFColor |
createColor() |
XSSFConditionalFormattingThreshold |
createThreshold()
Creates a new, empty Threshold
|
XSSFColor[] |
getColors()
Gets the list of colours that are interpolated
between.
|
int |
getNumControlPoints()
How many control points should be used to map
the colours? Normally 2 or 3
|
XSSFConditionalFormattingThreshold[] |
getThresholds()
Gets the list of thresholds
|
void |
setColors(Color[] colors)
Sets the list of colours that are interpolated
between.
|
void |
setNumControlPoints(int num)
Sets the number of control points to use to map
the colours.
|
void |
setThresholds(ConditionalFormattingThreshold[] thresholds)
Sets the of thresholds.
|
public int getNumControlPoints()
ColorScaleFormattinggetNumControlPoints in interface ColorScaleFormattingpublic void setNumControlPoints(int num)
ColorScaleFormattingAfter updating, you need to ensure that the
Threshold count and Color count match
setNumControlPoints in interface ColorScaleFormattingpublic XSSFColor[] getColors()
ColorScaleFormattinggetColors in interface ColorScaleFormattingpublic void setColors(Color[] colors)
ColorScaleFormattingColorScaleFormatting.getNumControlPoints()setColors in interface ColorScaleFormattingpublic XSSFConditionalFormattingThreshold[] getThresholds()
ColorScaleFormattinggetThresholds in interface ColorScaleFormattingpublic void setThresholds(ConditionalFormattingThreshold[] thresholds)
ColorScaleFormattingColorScaleFormatting.getNumControlPoints()setThresholds in interface ColorScaleFormattingpublic XSSFColor createColor()
public XSSFConditionalFormattingThreshold createThreshold()
ColorScaleFormattingcreateThreshold in interface ColorScaleFormattingCopyright 2021 The Apache Software Foundation or its licensors, as applicable.