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"intHow much of the cell width, in %, should be given to the max value?intHow much of the cell width, in %, should be given to the min value?booleanShould Icon + Value be displayed, or only the Icon?booleanIs the bar drawn from Left-to-Right, or from Right-to-LeftvoidvoidsetIconOnly(boolean only) Control if only the Icon is shown, or Icon + ValuevoidsetLeftToRight(boolean ltr) Control if the bar is drawn from Left-to-Right, or from Right-to-LeftvoidsetWidthMax(int width) voidsetWidthMin(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"
-