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 DataBarFormatting
copy()
ExtendedColor
getColor()
int
getDataLength()
Map<String,Supplier<?>>
getGenericProperties()
byte
getPercentMax()
byte
getPercentMin()
DataBarThreshold
getThresholdMax()
DataBarThreshold
getThresholdMin()
boolean
isIconOnly()
boolean
isReversed()
void
serialize(LittleEndianOutput out)
void
setColor(ExtendedColor color)
void
setIconOnly(boolean only)
void
setPercentMax(byte percentMax)
void
setPercentMin(byte percentMin)
void
setReversed(boolean rev)
void
setThresholdMax(DataBarThreshold thresholdMax)
void
setThresholdMin(DataBarThreshold thresholdMin)
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
-
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:
getGenericProperties
in interfaceGenericRecord
-
copy
public DataBarFormatting copy()
- Specified by:
copy
in interfaceDuplicatable
- Returns:
- a deep copy of the implementing class / instance
-
getDataLength
public int getDataLength()
-
serialize
public void serialize(LittleEndianOutput out)
-
-