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
(接口 DataBarFormatting 中的 isLeftToRight)
public void setLeftToRight(boolean ltr)
DataBarFormatting
setLeftToRight
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 setLeftToRight)
public int getWidthMin()
DataBarFormatting
getWidthMin
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 getWidthMin)
public void setWidthMin(int width)
setWidthMin
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 setWidthMin)
public int getWidthMax()
DataBarFormatting
getWidthMax
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 getWidthMax)
public void setWidthMax(int width)
setWidthMax
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 setWidthMax)
public HSSFExtendedColor getColor()
getColor
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 getColor)
public void setColor(Color color)
setColor
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 setColor)
public HSSFConditionalFormattingThreshold getMinThreshold()
DataBarFormatting
getMinThreshold
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 getMinThreshold)
public HSSFConditionalFormattingThreshold getMaxThreshold()
DataBarFormatting
getMaxThreshold
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 getMaxThreshold)
public boolean isIconOnly()
DataBarFormatting
isIconOnly
in interface
DataBarFormatting
(isIconOnly 在接口 DataBarFormatting 中)
public void setIconOnly(boolean only)
DataBarFormatting
setIconOnly
in interface
DataBarFormatting
(接口 DataBarFormatting 中的 setIconOnly)
public HSSFConditionalFormattingThreshold createThreshold()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.