|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.usermodel.HSSFIconMultiStateFormatting
public final class HSSFIconMultiStateFormatting
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 |
| Constructor Summary | |
|---|---|
protected |
HSSFIconMultiStateFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet)
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HSSFIconMultiStateFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet)
| Method Detail |
|---|
public IconMultiStateFormatting.IconSet getIconSet()
IconMultiStateFormatting
getIconSet 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()
IconMultiStateFormatting
isIconOnly in interface IconMultiStateFormattingpublic void setIconOnly(boolean only)
IconMultiStateFormatting
setIconOnly in interface IconMultiStateFormattingpublic boolean isReversed()
isReversed in interface IconMultiStateFormattingpublic void setReversed(boolean reversed)
setReversed in interface IconMultiStateFormattingpublic HSSFConditionalFormattingThreshold[] getThresholds()
IconMultiStateFormatting
getThresholds in interface IconMultiStateFormattingpublic void setThresholds(ConditionalFormattingThreshold[] thresholds)
IconMultiStateFormattingIconMultiStateFormatting.IconSet.num for the current IconMultiStateFormatting.getIconSet()
setThresholds in interface IconMultiStateFormattingpublic HSSFConditionalFormattingThreshold createThreshold()
IconMultiStateFormatting
createThreshold in interface IconMultiStateFormatting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||