Package org.apache.poi.xssf.usermodel
Class XSSFColorScaleFormatting
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.XSSFColorScaleFormatting
-
- All Implemented Interfaces:
ColorScaleFormatting
public class XSSFColorScaleFormatting extends Object implements ColorScaleFormatting
High level representation for Color Scale / Color Gradient Formatting component of Conditional Formatting settings
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XSSFColorcreateColor()XSSFConditionalFormattingThresholdcreateThreshold()XSSFColor[]getColors()intgetNumControlPoints()XSSFConditionalFormattingThreshold[]getThresholds()voidsetColors(Color[] colors)voidsetNumControlPoints(int num)voidsetThresholds(ConditionalFormattingThreshold[] thresholds)
-
-
-
Method Detail
-
getNumControlPoints
public int getNumControlPoints()
- Specified by:
getNumControlPointsin interfaceColorScaleFormatting
-
setNumControlPoints
public void setNumControlPoints(int num)
- Specified by:
setNumControlPointsin interfaceColorScaleFormatting
-
getColors
public XSSFColor[] getColors()
- Specified by:
getColorsin interfaceColorScaleFormatting
-
setColors
public void setColors(Color[] colors)
- Specified by:
setColorsin interfaceColorScaleFormatting
-
getThresholds
public XSSFConditionalFormattingThreshold[] getThresholds()
- Specified by:
getThresholdsin interfaceColorScaleFormatting
-
setThresholds
public void setThresholds(ConditionalFormattingThreshold[] thresholds)
- Specified by:
setThresholdsin interfaceColorScaleFormatting
-
createColor
public XSSFColor createColor()
- Returns:
- color from scale
-
createThreshold
public XSSFConditionalFormattingThreshold createThreshold()
- Specified by:
createThresholdin interfaceColorScaleFormatting
-
-