public final class DataBarCondition extends FormatCondition
Modifier and Type | Method and Description |
---|---|
DataBarStyle |
getBarStyle()
Gets the bar appearance settings.
|
FormatConditionType |
getConditionType()
Gets the
FormatConditionType.DATA_BAR value. |
ConditionalLength |
getMaximum()
Gets the data bar maximum.
|
ConditionalLength |
getMinimum()
Gets the data bar minimum.
|
boolean |
isShowBarOnly()
Gets a value indicating whether to show bar only.
|
void |
setShowBarOnly(boolean showBarOnly)
Sets a value indicating whether to show bar only.
|
String |
toString()
Returns a
String that represents this DataBarCondition instance. |
getRule
public DataBarStyle getBarStyle()
public FormatConditionType getConditionType()
FormatConditionType.DATA_BAR
value.getConditionType
in class FormatCondition
FormatConditionType.DATA_BAR
value.public ConditionalLength getMaximum()
public ConditionalLength getMinimum()
public boolean isShowBarOnly()
Gets a value indicating whether to show bar only.
Default value is false
(cell value is shown together with bar).
true
to show bar only; otherwise, false
.public void setShowBarOnly(boolean showBarOnly)
Sets a value indicating whether to show bar only.
Default value is false
(cell value is shown together with bar).
showBarOnly
- true
to show bar only; otherwise, false
.public String toString()
String
that represents this DataBarCondition
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 FormatCondition
String
that represents this DataBarCondition
instance.© GemBox d.o.o. — All rights reserved.