Package org.apache.poi.hssf.record.cf
Class ColorGradientThreshold
- java.lang.Object
-
- org.apache.poi.hssf.record.cf.Threshold
-
- org.apache.poi.hssf.record.cf.ColorGradientThreshold
-
- All Implemented Interfaces:
Duplicatable
,GenericRecord
public final class ColorGradientThreshold extends Threshold implements Duplicatable, GenericRecord
Color Gradient / Color Scale specific Threshold / value (CFVO), for changes in Conditional Formatting
-
-
Constructor Summary
Constructors Constructor Description ColorGradientThreshold()
ColorGradientThreshold(ColorGradientThreshold other)
ColorGradientThreshold(LittleEndianInput in)
Creates new Color Gradient Threshold
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorGradientThreshold
copy()
int
getDataLength()
Map<String,Supplier<?>>
getGenericProperties()
double
getPosition()
void
serialize(LittleEndianOutput out)
void
setPosition(double position)
-
Methods inherited from class org.apache.poi.hssf.record.cf.Threshold
getFormula, getParsedExpression, getType, getValue, setParsedExpression, setType, setType, setValue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Constructor Detail
-
ColorGradientThreshold
public ColorGradientThreshold()
-
ColorGradientThreshold
public ColorGradientThreshold(ColorGradientThreshold other)
-
ColorGradientThreshold
public ColorGradientThreshold(LittleEndianInput in)
Creates new Color Gradient Threshold
-
-
Method Detail
-
getPosition
public double getPosition()
-
setPosition
public void setPosition(double position)
-
getDataLength
public int getDataLength()
- Overrides:
getDataLength
in classThreshold
-
copy
public ColorGradientThreshold copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classThreshold
- Returns:
- a deep copy of the implementing class / instance
-
serialize
public void serialize(LittleEndianOutput out)
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
- Overrides:
getGenericProperties
in classThreshold
-
-