Class ColorGradientFormatting

java.lang.Object
org.apache.poi.hssf.record.cf.ColorGradientFormatting
All Implemented Interfaces:
Cloneable

public final class ColorGradientFormatting extends Object implements 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 Details

    • ColorGradientFormatting

      public ColorGradientFormatting()
    • ColorGradientFormatting

      public ColorGradientFormatting(LittleEndianInput in)
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • getDataLength

      public int getDataLength()
    • serialize

      public void serialize(LittleEndianOutput out)