Package io.keikai.model
Interface SConditionalFormatting
-
- All Known Implementing Classes:
ConditionalFormattingImpl
public interface SConditionalFormattingConditional Formatting- Author:
- henri
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddRegion(CellRegion region)voidclearFormulaResultCache()voidcopyFrom(SConditionalFormatting src, int rowOff, int colOff)Used to copy the contents from another src ConditionalFormatting.voiddestroy()Call this destory() when this formatting is about to be destroied.intgetId()Set<CellRegion>getRegions()Regions that this conditional formatting coveredList<SConditionalFormattingRule>getRules()Rules applied to the covered regionSSheetgetSheet()The sheet on which this conditional formatting coveredbooleanisUnderExt()voidremoveRegion(CellRegion region)Remove partial region in the ConditionalFormattingvoidrenameSheet(String oldName, String newName)When sheet name changed; must call this to update region and rule formulavoidsetRegions(Set<CellRegion> regions)
-
-
-
Method Detail
-
getSheet
SSheet getSheet()
The sheet on which this conditional formatting covered- Returns:
-
getRegions
Set<CellRegion> getRegions()
Regions that this conditional formatting covered- Returns:
-
getRules
List<SConditionalFormattingRule> getRules()
Rules applied to the covered region- Returns:
-
removeRegion
void removeRegion(CellRegion region)
Remove partial region in the ConditionalFormatting- Parameters:
region-- Since:
- 3.9.0
-
renameSheet
void renameSheet(String oldName, String newName)
When sheet name changed; must call this to update region and rule formula- Parameters:
oldName-newName-- Since:
- 3.9.0
-
destroy
void destroy()
Call this destory() when this formatting is about to be destroied.- Since:
- 3.9.0
-
copyFrom
void copyFrom(SConditionalFormatting src, int rowOff, int colOff)
Used to copy the contents from another src ConditionalFormatting.- Parameters:
src-- Since:
- 3.9.0
-
setRegions
void setRegions(Set<CellRegion> regions)
- Parameters:
regions-- Since:
- 3.9.0
-
addRegion
void addRegion(CellRegion region)
- Parameters:
region-- Since:
- 3.9.0
-
getId
int getId()
- Returns:
- Since:
- 3.9.0
-
clearFormulaResultCache
void clearFormulaResultCache()
- Since:
- 3.9.0
-
isUnderExt
boolean isUnderExt()
- Since:
- 5.7.0
-
-