|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.xssf.usermodel.XSSFConditionalFormatting
public class XSSFConditionalFormatting
Method Summary | |
---|---|
void |
addRule(ConditionalFormattingRule cfRule)
Add a Conditional Formatting rule. |
CellRangeAddress[] |
getFormattingRanges()
|
int |
getNumberOfRules()
|
XSSFConditionalFormattingRule |
getRule(int idx)
|
void |
setRule(int idx,
ConditionalFormattingRule cfRule)
Replaces an existing Conditional Formatting rule at position idx. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public CellRangeAddress[] getFormattingRanges()
getFormattingRanges
in interface ConditionalFormatting
null
public void setRule(int idx, ConditionalFormattingRule cfRule)
setRule
in interface ConditionalFormatting
idx
- position of the rule. Should be between 0 and 2.cfRule
- - Conditional Formatting rulepublic void addRule(ConditionalFormattingRule cfRule)
addRule
in interface ConditionalFormatting
cfRule
- - Conditional Formatting rulepublic XSSFConditionalFormattingRule getRule(int idx)
getRule
in interface ConditionalFormatting
public int getNumberOfRules()
getNumberOfRules
in interface ConditionalFormatting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |