Class StiColorScaleCondition
java.lang.Object
com.stimulsoft.report.components.conditions.StiFilter
com.stimulsoft.report.components.conditions.StiBaseCondition
com.stimulsoft.report.components.conditions.StiColorScaleCondition
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableToString,IStiIndicatorCondition,Cloneable
The class describes the condition with Color Scale indicator.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionStiColorScaleCondition(String column, StiColorScaleType scaleType, StiColor minimumColor, StiColor midColor, StiColor maximumColor, StiMinimumType minimumType, float minimumValue, StiMidType midType, float midValue, StiMaximumType maximumType, float maximumValue) Creates a new object of the type StiColorScaleCondition. -
Method Summary
Modifier and TypeMethodDescriptionCreateIndicator(StiText component) voiddeserialize(String value) booleanfinal StiColorGets or sets a color for maximal values.final StiMaximumTypeGets or sets processing type of maximal values for color scale indicator.final floatGets or sets minimal value for color scale indicator.final StiColorGets or sets a color for mid values.final StiMidTypeGets or sets processing type of mid values for color scale indicator.final floatGets or sets mid value for color scale indicator.final StiColorGets or sets a color for minimum values.final StiMinimumTypeGets or sets processing type of minimal values for color scale indicator.final floatGets or sets minimal value for color scale indicator.final StiColorScaleTypeGets or sets type of Color Scale indicator.inthashCode()voidLoadFromJsonObject(JSONObject jObject) final voidReset()Reset condition to base state.final voidsetMaximumColor(StiColor value) final voidsetMaximumType(StiMaximumType value) final voidsetMaximumValue(float value) final voidsetMidColor(StiColor value) final voidsetMidType(StiMidType value) final voidsetMidValue(float value) final voidsetMinimumColor(StiColor value) final voidsetMinimumType(StiMinimumType value) final voidsetMinimumValue(float value) final voidsetScaleType(StiColorScaleType value) Methods inherited from class com.stimulsoft.report.components.conditions.StiBaseCondition
getTag, setTagMethods inherited from class com.stimulsoft.report.components.conditions.StiFilter
getColumn, getCondition, getDataType, getExpression, getItem, getValue1, getValue2, setColumn, setCondition, setDataType, setExpression, setItem, setValue1, setValue2
-
Constructor Details
-
StiColorScaleCondition
public StiColorScaleCondition() -
StiColorScaleCondition
public StiColorScaleCondition(String column, StiColorScaleType scaleType, StiColor minimumColor, StiColor midColor, StiColor maximumColor, StiMinimumType minimumType, float minimumValue, StiMidType midType, float midValue, StiMaximumType maximumType, float maximumValue) Creates a new object of the type StiColorScaleCondition.
-
-
Method Details
-
Reset
public final void Reset()Reset condition to base state.- Specified by:
Resetin interfaceIStiIndicatorCondition
-
getScaleType
Gets or sets type of Color Scale indicator. -
setScaleType
-
getMinimumColor
Gets or sets a color for minimum values. -
setMinimumColor
-
getMidColor
Gets or sets a color for mid values. -
setMidColor
-
getMaximumColor
Gets or sets a color for maximal values. -
setMaximumColor
-
getMinimumType
Gets or sets processing type of minimal values for color scale indicator. -
setMinimumType
-
getMinimumValue
public final float getMinimumValue()Gets or sets minimal value for color scale indicator. -
setMinimumValue
public final void setMinimumValue(float value) -
getMidType
Gets or sets processing type of mid values for color scale indicator. -
setMidType
-
getMidValue
public final float getMidValue()Gets or sets mid value for color scale indicator. -
setMidValue
public final void setMidValue(float value) -
getMaximumType
Gets or sets processing type of maximal values for color scale indicator. -
setMaximumType
-
getMaximumValue
public final float getMaximumValue()Gets or sets minimal value for color scale indicator. -
setMaximumValue
public final void setMaximumValue(float value) -
hashCode
public int hashCode() -
equals
-
serialize
- Specified by:
serializein interfaceIStiSerializableToString- Overrides:
serializein classStiFilter
-
deserialize
- Specified by:
deserializein interfaceIStiSerializableToString- Overrides:
deserializein classStiFilter
-
CreateIndicator
- Specified by:
CreateIndicatorin interfaceIStiIndicatorCondition
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiFilter- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiFilter- Throws:
JSONException
-