Top Description Fields Constructors Methods
org.apache.poi.hssf.record.cf

public abstract Class Threshold

extends Object
implements GenericRecord
Class Inheritance
All Implemented Interfaces
org.apache.poi.common.usermodel.GenericRecord
Known Direct Subclasses
org.apache.poi.hssf.record.cf.ColorGradientThreshold, org.apache.poi.hssf.record.cf.DataBarThreshold, org.apache.poi.hssf.record.cf.IconMultiStateThreshold
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.common.usermodel.GenericRecord, org.apache.poi.ss.formula.Formula, org.apache.poi.ss.formula.ptg.Ptg, org.apache.poi.ss.usermodel.ConditionalFormattingThreshold.RangeType, org.apache.poi.util.GenericRecordJsonWriter, .GenericRecordUtil, .LittleEndianInput, .LittleEndianOutput

Threshold / value (CFVO) for changes in Conditional Formatting

Field Summary

Modifier and TypeField and Description
private Formula
private byte
private Double

Constructor Summary

AccessConstructor and Description
protected
protected
protected
Threshold(LittleEndianInput in)

Creates new Threshold

Method Summary

Modifier and TypeMethod and Description
public abstract Threshold
copy()

public int
protected Formula
public Map<String, Supplier<?>>
public Ptg[]
public byte
public Double
public void
public void
public void
setType(byte type)

public void
setType(int type)

public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

formulaback to summary
private Formula formula
typeback to summary
private byte type
valueback to summary
private Double value

Constructor Detail

Thresholdback to summary
protected Threshold()
Thresholdback to summary
protected Threshold(Threshold other)
Thresholdback to summary
protected Threshold(LittleEndianInput in)

Creates new Threshold

Method Detail

copyback to summary
public abstract Threshold copy()
getDataLengthback to summary
public int getDataLength()
getFormulaback to summary
protected Formula getFormula()
getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getParsedExpressionback to summary
public Ptg[] getParsedExpression()
getTypeback to summary
public byte getType()
getValueback to summary
public Double getValue()
serializeback to summary
public void serialize(LittleEndianOutput out)
setParsedExpressionback to summary
public void setParsedExpression(Ptg[] ptgs)
setTypeback to summary
public void setType(byte type)
setTypeback to summary
public void setType(int type)
setValueback to summary
public void setValue(Double value)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object