org.apache.poi.hssf.record.cf
Class ColorGradientFormatting
java.lang.Object
org.apache.poi.hssf.record.cf.ColorGradientFormatting
- All Implemented Interfaces:
- java.lang.Cloneable
public final class ColorGradientFormatting
- extends java.lang.Object
- implements java.lang.Cloneable
Color Gradient / Color Scale Conditional Formatting Rule Record.
(Called Color Gradient in the file format docs, but more commonly
Color Scale in the UI)
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ColorGradientFormatting
public ColorGradientFormatting()
ColorGradientFormatting
public ColorGradientFormatting(LittleEndianInput in)
getNumControlPoints
public int getNumControlPoints()
setNumControlPoints
public void setNumControlPoints(int num)
getThresholds
public ColorGradientThreshold[] getThresholds()
setThresholds
public void setThresholds(ColorGradientThreshold[] thresholds)
getColors
public ExtendedColor[] getColors()
setColors
public void setColors(ExtendedColor[] colors)
isClampToCurve
public boolean isClampToCurve()
isAppliesToBackground
public boolean isAppliesToBackground()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getDataLength
public int getDataLength()
serialize
public void serialize(LittleEndianOutput out)