public final class HSSFIconMultiStateFormatting extends java.lang.Object implements IconMultiStateFormatting
IconMultiStateFormatting.IconSet
Modifier | Constructor and Description |
---|---|
protected |
HSSFIconMultiStateFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet) |
Modifier and Type | Method and Description |
---|---|
HSSFConditionalFormattingThreshold |
createThreshold()
Creates a new, empty Threshold
|
IconMultiStateFormatting.IconSet |
getIconSet()
Get the Icon Set used
|
HSSFConditionalFormattingThreshold[] |
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.
|
protected HSSFIconMultiStateFormatting(CFRule12Record cfRule12Record, HSSFSheet sheet)
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 HSSFConditionalFormattingThreshold[] 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 HSSFConditionalFormattingThreshold createThreshold()
IconMultiStateFormatting
createThreshold
in interface IconMultiStateFormatting
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.