org.apache.poi.hssf.record.cf
Class ColorGradientFormatting

java.lang.Object
  extended by 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)


Constructor Summary
ColorGradientFormatting()
           
ColorGradientFormatting(LittleEndianInput in)
           
 
Method Summary
 java.lang.Object clone()
           
 ExtendedColor[] getColors()
           
 int getDataLength()
           
 int getNumControlPoints()
           
 ColorGradientThreshold[] getThresholds()
           
 boolean isAppliesToBackground()
           
 boolean isClampToCurve()
           
 void serialize(LittleEndianOutput out)
           
 void setColors(ExtendedColor[] colors)
           
 void setNumControlPoints(int num)
           
 void setThresholds(ColorGradientThreshold[] thresholds)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColorGradientFormatting

public ColorGradientFormatting()

ColorGradientFormatting

public ColorGradientFormatting(LittleEndianInput in)
Method Detail

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)