Class: ConditionalFormatIconSetRuleBuilder
Extends
ConditionalFormatRuleBaseBuilder
Constructors
new ConditionalFormatIconSetRuleBuilder()
new ConditionalFormatIconSetRuleBuilder(initRule?): ConditionalFormatIconSetRuleBuilder
Parameters
Parameter | Type |
---|---|
initRule ? | IConditionFormattingRule |
Returns
ConditionalFormatIconSetRuleBuilder
Inherited from
ConditionalFormatRuleBaseBuilder.constructor
Methods
build()
build(): IConditionFormattingRule<IConditionalFormattingRuleConfig>
Returns
IConditionFormattingRule
<IConditionalFormattingRuleConfig
>
Inherited from
ConditionalFormatRuleBaseBuilder.build
copy()
copy(): ConditionalFormatIconSetRuleBuilder
Deep clone a current builder.
Returns
ConditionalFormatIconSetRuleBuilder
Memberof
ConditionalFormatRuleBuilder
Overrides
ConditionalFormatRuleBaseBuilder.copy
createCfId()
createCfId(): string
Create a conditional format ID.
Returns
string
Memberof
ConditionalFormatRuleBuilder
Inherited from
ConditionalFormatRuleBaseBuilder.createCfId
getIconMap()
getIconMap(): Record<string, ...[]>
Get the icon set mapping dictionary
Returns
Record
<string
, …[]>
Inherited from
ConditionalFormatRuleBaseBuilder.getIconMap
getRanges()
getRanges(): IRange[]
Gets the scope of the current conditional format
Returns
IRange
[]
Memberof
ConditionalFormatRuleBuilder
Inherited from
ConditionalFormatRuleBaseBuilder.getRanges
setIconSet()
setIconSet(config): this
Icon Set
Parameters
Parameter | Type | Description |
---|---|---|
config | { iconConfigs : IIconSet ; isShowValue : boolean ; } | |
config.iconConfigs | IIconSet | |
config.isShowValue | boolean |
Returns
this
Memberof
ConditionalFormatRuleBuilder
setRanges()
setRanges(ranges): this
Sets the scope for conditional formatting
Parameters
Parameter | Type | Description |
---|---|---|
ranges | IRange [] |
Returns
this
Memberof
ConditionalFormatRuleBuilder
Inherited from
ConditionalFormatRuleBaseBuilder.setRanges