Package io.keikai.model
Interface SConditionalFormatting
- All Known Implementing Classes:
ConditionalFormattingImpl
public interface SConditionalFormatting
Conditional Formatting
- Author:
- henri
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRegion(CellRegion region) voidvoidcopyFrom(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()Regions that this conditional formatting coveredgetRules()Rules applied to the covered regiongetSheet()The sheet on which this conditional formatting coveredbooleanvoidremoveRegion(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 Details
-
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
Remove partial region in the ConditionalFormatting- Parameters:
region-- Since:
- 3.9.0
-
renameSheet
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
Used to copy the contents from another src ConditionalFormatting.- Parameters:
src-- Since:
- 3.9.0
-
setRegions
- Parameters:
regions-- Since:
- 3.9.0
-
addRegion
- 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
-