|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.usermodel.HSSFDataBarFormatting
public final class HSSFDataBarFormatting
High level representation for DataBar / Data-Bar Formatting component of Conditional Formatting settings
| Constructor Summary | |
|---|---|
protected |
HSSFDataBarFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet)
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HSSFDataBarFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet)
| Method Detail |
|---|
public boolean isLeftToRight()
DataBarFormatting
isLeftToRight in interface DataBarFormattingpublic void setLeftToRight(boolean ltr)
DataBarFormatting
setLeftToRight in interface DataBarFormattingpublic int getWidthMin()
DataBarFormatting
getWidthMin in interface DataBarFormattingpublic void setWidthMin(int width)
setWidthMin in interface DataBarFormattingpublic int getWidthMax()
DataBarFormatting
getWidthMax in interface DataBarFormattingpublic void setWidthMax(int width)
setWidthMax in interface DataBarFormattingpublic HSSFExtendedColor getColor()
getColor in interface DataBarFormattingpublic void setColor(Color color)
setColor in interface DataBarFormattingpublic HSSFConditionalFormattingThreshold getMinThreshold()
DataBarFormatting
getMinThreshold in interface DataBarFormattingpublic HSSFConditionalFormattingThreshold getMaxThreshold()
DataBarFormatting
getMaxThreshold in interface DataBarFormattingpublic boolean isIconOnly()
DataBarFormatting
isIconOnly in interface DataBarFormattingpublic void setIconOnly(boolean only)
DataBarFormatting
setIconOnly in interface DataBarFormattingpublic HSSFConditionalFormattingThreshold createThreshold()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||