public class XSSFIconMultiStateFormatting extends java.lang.Object implements IconMultiStateFormatting
IconMultiStateFormatting.IconSet| Modifier and Type | Method and Description |
|---|---|
XSSFConditionalFormattingThreshold |
createThreshold()
Creates a new, empty Threshold
|
IconMultiStateFormatting.IconSet |
getIconSet()
Get the Icon Set used
|
XSSFConditionalFormattingThreshold[] |
getThresholds()
Gets the list of thresholds
|
boolean |
isIconOnly()
Should Icon + Value be displayed, or only the Icon?
|
boolean |
isReversed() |
void |
setIconOnly(boolean only)
Control if only the Icon is shown, or Icon + Value
|
void |
setIconSet(IconMultiStateFormatting.IconSet set)
Changes the Icon Set used
|
void |
setReversed(boolean reversed) |
void |
setThresholds(ConditionalFormattingThreshold[] thresholds)
Sets the of thresholds.
|
public IconMultiStateFormatting.IconSet getIconSet()
IconMultiStateFormattinggetIconSet in interface IconMultiStateFormattingpublic void setIconSet(IconMultiStateFormatting.IconSet set)
IconMultiStateFormattingIf the new Icon Set has a different number of icons to the old one, you must update the thresholds before saving!
setIconSet in interface IconMultiStateFormattingpublic boolean isIconOnly()
IconMultiStateFormattingisIconOnly in interface IconMultiStateFormattingpublic void setIconOnly(boolean only)
IconMultiStateFormattingsetIconOnly in interface IconMultiStateFormattingpublic boolean isReversed()
isReversed in interface IconMultiStateFormattingpublic void setReversed(boolean reversed)
setReversed in interface IconMultiStateFormattingpublic XSSFConditionalFormattingThreshold[] getThresholds()
IconMultiStateFormattinggetThresholds in interface IconMultiStateFormattingpublic void setThresholds(ConditionalFormattingThreshold[] thresholds)
IconMultiStateFormattingIconMultiStateFormatting.IconSet.num for the current IconMultiStateFormatting.getIconSet()setThresholds in interface IconMultiStateFormattingpublic XSSFConditionalFormattingThreshold createThreshold()
IconMultiStateFormattingcreateThreshold in interface IconMultiStateFormattingCopyright 2018 The Apache Software Foundation or its licensors, as applicable.