|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |