Package org.apache.poi.xssf.usermodel
Class XSSFIconMultiStateFormatting
- java.lang.Object
 - 
- org.apache.poi.xssf.usermodel.XSSFIconMultiStateFormatting
 
 
- 
- All Implemented Interfaces:
 IconMultiStateFormatting
public class XSSFIconMultiStateFormatting extends java.lang.Object implements IconMultiStateFormatting
High level representation for Icon / Multi-State Formatting component of Conditional Formatting settings 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.apache.poi.ss.usermodel.IconMultiStateFormatting
IconMultiStateFormatting.IconSet 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XSSFConditionalFormattingThresholdcreateThreshold()Creates a new, empty ThresholdIconMultiStateFormatting.IconSetgetIconSet()Get the Icon Set usedXSSFConditionalFormattingThreshold[]getThresholds()Gets the list of thresholdsbooleanisIconOnly()Should Icon + Value be displayed, or only the Icon?booleanisReversed()voidsetIconOnly(boolean only)Control if only the Icon is shown, or Icon + ValuevoidsetIconSet(IconMultiStateFormatting.IconSet set)Changes the Icon Set usedvoidsetReversed(boolean reversed)voidsetThresholds(ConditionalFormattingThreshold[] thresholds)Sets the of thresholds. 
 - 
 
- 
- 
Method Detail
- 
getIconSet
public IconMultiStateFormatting.IconSet getIconSet()
Description copied from interface:IconMultiStateFormattingGet the Icon Set used- Specified by:
 getIconSetin interfaceIconMultiStateFormatting
 
- 
setIconSet
public void setIconSet(IconMultiStateFormatting.IconSet set)
Description copied from interface:IconMultiStateFormattingChanges the Icon Set usedIf the new Icon Set has a different number of icons to the old one, you must update the thresholds before saving!
- Specified by:
 setIconSetin interfaceIconMultiStateFormatting
 
- 
isIconOnly
public boolean isIconOnly()
Description copied from interface:IconMultiStateFormattingShould Icon + Value be displayed, or only the Icon?- Specified by:
 isIconOnlyin interfaceIconMultiStateFormatting
 
- 
setIconOnly
public void setIconOnly(boolean only)
Description copied from interface:IconMultiStateFormattingControl if only the Icon is shown, or Icon + Value- Specified by:
 setIconOnlyin interfaceIconMultiStateFormatting
 
- 
isReversed
public boolean isReversed()
- Specified by:
 isReversedin interfaceIconMultiStateFormatting
 
- 
setReversed
public void setReversed(boolean reversed)
- Specified by:
 setReversedin interfaceIconMultiStateFormatting
 
- 
getThresholds
public XSSFConditionalFormattingThreshold[] getThresholds()
Description copied from interface:IconMultiStateFormattingGets the list of thresholds- Specified by:
 getThresholdsin interfaceIconMultiStateFormatting
 
- 
setThresholds
public void setThresholds(ConditionalFormattingThreshold[] thresholds)
Description copied from interface:IconMultiStateFormattingSets the of thresholds. The number must matchIconMultiStateFormatting.IconSet.numfor the currentIconMultiStateFormatting.getIconSet()- Specified by:
 setThresholdsin interfaceIconMultiStateFormatting
 
- 
createThreshold
public XSSFConditionalFormattingThreshold createThreshold()
Description copied from interface:IconMultiStateFormattingCreates a new, empty Threshold- Specified by:
 createThresholdin interfaceIconMultiStateFormatting
 
 - 
 
 -