Package org.apache.poi.hssf.record.cf
Class DataBarFormatting
- java.lang.Object
-
- org.apache.poi.hssf.record.cf.DataBarFormatting
-
- All Implemented Interfaces:
Duplicatable,GenericRecord
public final class DataBarFormatting extends Object implements Duplicatable, GenericRecord
Data Bar Conditional Formatting Rule Record.
-
-
Constructor Summary
Constructors Constructor Description DataBarFormatting()DataBarFormatting(DataBarFormatting other)DataBarFormatting(LittleEndianInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataBarFormattingcopy()ExtendedColorgetColor()intgetDataLength()Map<String,Supplier<?>>getGenericProperties()bytegetPercentMax()bytegetPercentMin()DataBarThresholdgetThresholdMax()DataBarThresholdgetThresholdMin()booleanisIconOnly()booleanisReversed()voidserialize(LittleEndianOutput out)voidsetColor(ExtendedColor color)voidsetIconOnly(boolean only)voidsetPercentMax(byte percentMax)voidsetPercentMin(byte percentMin)voidsetReversed(boolean rev)voidsetThresholdMax(DataBarThreshold thresholdMax)voidsetThresholdMin(DataBarThreshold thresholdMin)StringtoString()-
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
-
DataBarFormatting
public DataBarFormatting()
-
DataBarFormatting
public DataBarFormatting(DataBarFormatting other)
-
DataBarFormatting
public DataBarFormatting(LittleEndianInput in)
-
-
Method Detail
-
isIconOnly
public boolean isIconOnly()
-
setIconOnly
public void setIconOnly(boolean only)
-
isReversed
public boolean isReversed()
-
setReversed
public void setReversed(boolean rev)
-
getPercentMin
public byte getPercentMin()
-
setPercentMin
public void setPercentMin(byte percentMin)
-
getPercentMax
public byte getPercentMax()
-
setPercentMax
public void setPercentMax(byte percentMax)
-
getColor
public ExtendedColor getColor()
-
setColor
public void setColor(ExtendedColor color)
-
getThresholdMin
public DataBarThreshold getThresholdMin()
-
setThresholdMin
public void setThresholdMin(DataBarThreshold thresholdMin)
-
getThresholdMax
public DataBarThreshold getThresholdMax()
-
setThresholdMax
public void setThresholdMax(DataBarThreshold thresholdMax)
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
copy
public DataBarFormatting copy()
- Specified by:
copyin interfaceDuplicatable- Returns:
- a deep copy of the implementing class / instance
-
getDataLength
public int getDataLength()
-
serialize
public void serialize(LittleEndianOutput out)
-
-