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()
IconMultiStateFormatting
getIconSet
in interface IconMultiStateFormatting
public void setIconSet(IconMultiStateFormatting.IconSet set)
IconMultiStateFormatting
If the new Icon Set has a different number of icons to the old one, you must update the thresholds before saving!
setIconSet
in interface IconMultiStateFormatting
public boolean isIconOnly()
IconMultiStateFormatting
isIconOnly
in interface IconMultiStateFormatting
public void setIconOnly(boolean only)
IconMultiStateFormatting
setIconOnly
in interface IconMultiStateFormatting
public boolean isReversed()
isReversed
in interface IconMultiStateFormatting
public void setReversed(boolean reversed)
setReversed
in interface IconMultiStateFormatting
public XSSFConditionalFormattingThreshold[] getThresholds()
IconMultiStateFormatting
getThresholds
in interface IconMultiStateFormatting
public void setThresholds(ConditionalFormattingThreshold[] thresholds)
IconMultiStateFormatting
IconMultiStateFormatting.IconSet.num
for the current IconMultiStateFormatting.getIconSet()
setThresholds
in interface IconMultiStateFormatting
public XSSFConditionalFormattingThreshold createThreshold()
IconMultiStateFormatting
createThreshold
in interface IconMultiStateFormatting
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.