org.apache.poi.xssf.usermodel
Class XSSFColorScaleFormatting
java.lang.Object
org.apache.poi.xssf.usermodel.XSSFColorScaleFormatting
- All Implemented Interfaces:
- ColorScaleFormatting
public class XSSFColorScaleFormatting
- extends java.lang.Object
- implements ColorScaleFormatting
High level representation for Color Scale / Color Gradient Formatting
component of Conditional Formatting settings
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getNumControlPoints
public int getNumControlPoints()
- Specified by:
getNumControlPoints
in interface ColorScaleFormatting
setNumControlPoints
public void setNumControlPoints(int num)
- Specified by:
setNumControlPoints
in interface ColorScaleFormatting
getColors
public XSSFColor[] getColors()
- Specified by:
getColors
in interface ColorScaleFormatting
setColors
public void setColors(Color[] colors)
- Specified by:
setColors
in interface ColorScaleFormatting
getThresholds
public XSSFConditionalFormattingThreshold[] getThresholds()
- Specified by:
getThresholds
in interface ColorScaleFormatting
setThresholds
public void setThresholds(ConditionalFormattingThreshold[] thresholds)
- Specified by:
setThresholds
in interface ColorScaleFormatting
createColor
public XSSFColor createColor()
- Returns:
- color from scale
createThreshold
public XSSFConditionalFormattingThreshold createThreshold()
- Specified by:
createThreshold
in interface ColorScaleFormatting