Package org.apache.poi.hssf.record.cf
Class Threshold
- java.lang.Object
-
- org.apache.poi.hssf.record.cf.Threshold
-
- All Implemented Interfaces:
GenericRecord
- Direct Known Subclasses:
ColorGradientThreshold
,DataBarThreshold
,IconMultiStateThreshold
public abstract class Threshold extends Object implements GenericRecord
Threshold / value (CFVO) for changes in Conditional Formatting
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Threshold()
protected
Threshold(Threshold other)
protected
Threshold(LittleEndianInput in)
Creates new Threshold
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Threshold
copy()
int
getDataLength()
protected Formula
getFormula()
Map<String,Supplier<?>>
getGenericProperties()
Ptg[]
getParsedExpression()
byte
getType()
Double
getValue()
void
serialize(LittleEndianOutput out)
void
setParsedExpression(Ptg[] ptgs)
void
setType(byte type)
void
setType(int type)
void
setValue(Double value)
String
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
-
Threshold
protected Threshold()
-
Threshold
protected Threshold(Threshold other)
-
Threshold
protected Threshold(LittleEndianInput in)
Creates new Threshold
-
-
Method Detail
-
getType
public byte getType()
-
setType
public void setType(byte type)
-
setType
public void setType(int type)
-
getFormula
protected Formula getFormula()
-
getParsedExpression
public Ptg[] getParsedExpression()
-
setParsedExpression
public void setParsedExpression(Ptg[] ptgs)
-
getValue
public Double getValue()
-
setValue
public void setValue(Double value)
-
getDataLength
public int getDataLength()
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
serialize
public void serialize(LittleEndianOutput out)
-
copy
public abstract Threshold copy()
-
-