Package org.apache.poi.hssf.record.cf
Class ColorGradientFormatting
- java.lang.Object
-
- org.apache.poi.hssf.record.cf.ColorGradientFormatting
-
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
public final class ColorGradientFormatting extends java.lang.Object implements org.apache.poi.common.Duplicatable, GenericRecord
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
Constructors Constructor Description ColorGradientFormatting()ColorGradientFormatting(ColorGradientFormatting other)ColorGradientFormatting(LittleEndianInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorGradientFormattingcopy()ExtendedColor[]getColors()intgetDataLength()java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()intgetNumControlPoints()ColorGradientThreshold[]getThresholds()booleanisAppliesToBackground()booleanisClampToCurve()voidserialize(LittleEndianOutput out)voidsetColors(ExtendedColor[] colors)voidsetNumControlPoints(int num)voidsetThresholds(ColorGradientThreshold[] thresholds)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Constructor Detail
-
ColorGradientFormatting
public ColorGradientFormatting()
-
ColorGradientFormatting
public ColorGradientFormatting(ColorGradientFormatting other)
-
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()
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
copy
public ColorGradientFormatting copy()
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable
-
getDataLength
public int getDataLength()
-
serialize
public void serialize(LittleEndianOutput out)
-
-