Package org.apache.poi.ss.usermodel
Interface DataBarFormatting
- All Known Implementing Classes:
HSSFDataBarFormatting
,XSSFDataBarFormatting
public interface DataBarFormatting
High level representation for the DataBar Formatting
component of Conditional Formatting settings
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
The threshold that defines "everything from here up is maximum"The threshold that defines "everything from here down is minimum"int
How much of the cell width, in %, should be given to the max value?int
How much of the cell width, in %, should be given to the min value?boolean
Should Icon + Value be displayed, or only the Icon?boolean
Is the bar drawn from Left-to-Right, or from Right-to-Leftvoid
void
setIconOnly
(boolean only) Control if only the Icon is shown, or Icon + Valuevoid
setLeftToRight
(boolean ltr) Control if the bar is drawn from Left-to-Right, or from Right-to-Leftvoid
setWidthMax
(int width) void
setWidthMin
(int width)
-
Method Details
-
isLeftToRight
boolean isLeftToRight()Is the bar drawn from Left-to-Right, or from Right-to-Left -
setLeftToRight
void setLeftToRight(boolean ltr) Control if the bar is drawn from Left-to-Right, or from Right-to-Left -
isIconOnly
boolean isIconOnly()Should Icon + Value be displayed, or only the Icon? -
setIconOnly
void setIconOnly(boolean only) Control if only the Icon is shown, or Icon + Value -
getWidthMin
int getWidthMin()How much of the cell width, in %, should be given to the min value? -
setWidthMin
void setWidthMin(int width) -
getWidthMax
int getWidthMax()How much of the cell width, in %, should be given to the max value? -
setWidthMax
void setWidthMax(int width) -
getColor
Color getColor() -
setColor
-
getMinThreshold
ConditionalFormattingThreshold getMinThreshold()The threshold that defines "everything from here down is minimum" -
getMaxThreshold
ConditionalFormattingThreshold getMaxThreshold()The threshold that defines "everything from here up is maximum"
-