public final class HSSFDataBarFormatting extends java.lang.Object implements DataBarFormatting
Modifier | Constructor and Description |
---|---|
protected |
HSSFDataBarFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet) |
Modifier and Type | Method and Description |
---|---|
HSSFConditionalFormattingThreshold |
createThreshold() |
HSSFExtendedColor |
getColor() |
HSSFConditionalFormattingThreshold |
getMaxThreshold()
The threshold that defines "everything from here up is maximum"
|
HSSFConditionalFormattingThreshold |
getMinThreshold()
The threshold that defines "everything from here down is minimum"
|
int |
getWidthMax()
How much of the cell width, in %, should be given to
the max value?
|
int |
getWidthMin()
How much of the cell width, in %, should be given to
the min value?
|
boolean |
isIconOnly()
Should Icon + Value be displayed, or only the Icon?
|
boolean |
isLeftToRight()
Is the bar drawn from Left-to-Right, or from
Right-to-Left
|
void |
setColor(Color color) |
void |
setIconOnly(boolean only)
Control if only the Icon is shown, or Icon + Value
|
void |
setLeftToRight(boolean ltr)
Control if the bar is drawn from Left-to-Right,
or from Right-to-Left
|
void |
setWidthMax(int width) |
void |
setWidthMin(int width) |
protected HSSFDataBarFormatting(CFRule12Record cfRule12Record, HSSFSheet sheet)
public boolean isLeftToRight()
DataBarFormatting
isLeftToRight
in interface DataBarFormatting
public void setLeftToRight(boolean ltr)
DataBarFormatting
setLeftToRight
in interface DataBarFormatting
public int getWidthMin()
DataBarFormatting
getWidthMin
in interface DataBarFormatting
public void setWidthMin(int width)
setWidthMin
in interface DataBarFormatting
public int getWidthMax()
DataBarFormatting
getWidthMax
in interface DataBarFormatting
public void setWidthMax(int width)
setWidthMax
in interface DataBarFormatting
public HSSFExtendedColor getColor()
getColor
in interface DataBarFormatting
public void setColor(Color color)
setColor
in interface DataBarFormatting
public HSSFConditionalFormattingThreshold getMinThreshold()
DataBarFormatting
getMinThreshold
in interface DataBarFormatting
public HSSFConditionalFormattingThreshold getMaxThreshold()
DataBarFormatting
getMaxThreshold
in interface DataBarFormatting
public boolean isIconOnly()
DataBarFormatting
isIconOnly
in interface DataBarFormatting
public void setIconOnly(boolean only)
DataBarFormatting
setIconOnly
in interface DataBarFormatting
public HSSFConditionalFormattingThreshold createThreshold()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.