public final class ConditionalIcon extends ConditionalObject
IconSetCondition
of a conditional formatting rule to specify icon and a lower bound of the values onto which the icon is applied.Modifier and Type | Method and Description |
---|---|
SpreadsheetIcon |
getIcon()
Gets the icon.
|
boolean |
isEqual()
Gets a value indicating whether this or next icon will be shown if cell's value is equal to this
ConditionalObject.getValue() . |
void |
setEqual(boolean value)
Sets a value indicating whether this or next icon will be shown if cell's value is equal to this
ConditionalObject.getValue() . |
void |
setIcon(SpreadsheetIcon value)
Sets the icon.
|
String |
toString()
Returns a
String that represents this ConditionalIcon instance. |
getValue, setValue
public SpreadsheetIcon getIcon()
public boolean isEqual()
Gets a value indicating whether this or next icon will be shown if cell's value is equal to this ConditionalObject.getValue()
.
Default value is true
(this icon will be shown if cell's value is equal to this ConditionalObject.getValue()
).
true
if this icon will be shown if cell's value is equal to this ConditionalObject.getValue()
; otherwise, false
.public void setEqual(boolean value)
Sets a value indicating whether this or next icon will be shown if cell's value is equal to this ConditionalObject.getValue()
.
Default value is true
(this icon will be shown if cell's value is equal to this ConditionalObject.getValue()
).
value
- true
if this icon will be shown if cell's value is equal to this ConditionalObject.getValue()
; otherwise, false
.public void setIcon(SpreadsheetIcon value)
value
- The icon.public String toString()
String
that represents this ConditionalIcon
instance.
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
toString
in class ConditionalObject
String
that represents this ConditionalIcon
instance.© GemBox Ltd. — All rights reserved.