Package org.apache.poi.ss.usermodel
Interface DataBarFormatting
-
- All Known Implementing Classes:
HSSFDataBarFormatting
public interface DataBarFormattingHigh level representation for the DataBar Formatting component of Conditional Formatting settings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColorgetColor()ConditionalFormattingThresholdgetMaxThreshold()The threshold that defines "everything from here up is maximum"ConditionalFormattingThresholdgetMinThreshold()The threshold that defines "everything from here down is minimum"intgetWidthMax()How much of the cell width, in %, should be given to the max value?intgetWidthMin()How much of the cell width, in %, should be given to the min value?booleanisIconOnly()Should Icon + Value be displayed, or only the Icon?booleanisLeftToRight()Is the bar drawn from Left-to-Right, or from Right-to-LeftvoidsetColor(Color color)voidsetIconOnly(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 Detail
-
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
void setColor(Color color)
-
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"
-
-