Package org.apache.poi.hssf.record.cf
Class DataBarFormatting
- java.lang.Object
-
- org.apache.poi.hssf.record.cf.DataBarFormatting
-
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
public final class DataBarFormatting extends java.lang.Object implements org.apache.poi.common.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()java.util.Map<java.lang.String,java.util.function.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)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
equals, 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 java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
copy
public DataBarFormatting copy()
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable
-
getDataLength
public int getDataLength()
-
serialize
public void serialize(LittleEndianOutput out)
-
-