public interface SConditionalFormatting
Modifier and Type | Method and Description |
---|---|
void |
addRegion(CellRegion region) |
void |
clearFormulaResultCache() |
void |
copyFrom(SConditionalFormatting src,
int rowOff,
int colOff)
Used to copy the contents from another src ConditionalFormatting.
|
void |
destroy()
Call this destory() when this formatting is about to be destroied.
|
int |
getId() |
Set<CellRegion> |
getRegions()
Regions that this conditional formatting covered
|
List<SConditionalFormattingRule> |
getRules()
Rules applied to the covered region
|
SSheet |
getSheet()
The sheet on which this conditional formatting covered
|
void |
removeRegion(CellRegion region)
Remove partial region in the ConditionalFormatting
|
void |
renameSheet(String oldName,
String newName)
When sheet name changed; must call this to update region and rule formula
|
void |
setRegions(Set<CellRegion> regions) |
SSheet getSheet()
Set<CellRegion> getRegions()
List<SConditionalFormattingRule> getRules()
void removeRegion(CellRegion region)
region
- void renameSheet(String oldName, String newName)
oldName
- newName
- void destroy()
void copyFrom(SConditionalFormatting src, int rowOff, int colOff)
src
- void setRegions(Set<CellRegion> regions)
regions
- void addRegion(CellRegion region)
region
- int getId()
void clearFormulaResultCache()
Copyright © 2020. All rights reserved.