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 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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncopy()intintbooleanbooleanvoidvoidsetColors(ExtendedColor[] colors) voidsetNumControlPoints(int num) voidsetThresholds(ColorGradientThreshold[] thresholds) toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Constructor Details
-
ColorGradientFormatting
public ColorGradientFormatting() -
ColorGradientFormatting
-
ColorGradientFormatting
-
-
Method Details
-
getNumControlPoints
public int getNumControlPoints() -
setNumControlPoints
public void setNumControlPoints(int num) -
getThresholds
-
setThresholds
-
getColors
-
setColors
-
isClampToCurve
public boolean isClampToCurve() -
isAppliesToBackground
public boolean isAppliesToBackground() -
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
toString
-
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable
-
getDataLength
public int getDataLength() -
serialize
-