Class StiExpression
java.lang.Object
com.stimulsoft.report.expressions.StiExpression
- All Implemented Interfaces:
IStiDefault,IStiJsonReportObject,IStiSerializable,IStiSerializableToString,Cloneable
- Direct Known Subclasses:
StiArgumentExpression,StiCrossValueExpression,StiCutPieListExpression,StiDataParameter,StiDisplayCrossValueExpression,StiListOfArgumentsExpression,StiListOfHyperlinksExpression,StiListOfTagsExpression,StiListOfToolTipsExpression,StiListOfValuesCloseExpression,StiListOfValuesEndExpression,StiListOfValuesExpression,StiListOfValuesHighExpression,StiListOfValuesLowExpression,StiListOfValuesOpenExpression,StiListOfWeightsExpression,StiSkipIndicesExpression,StiSkipValuesExpression,StiTextExpression,StiTitleExpression,StiUnifiedExpression,StiValueCloseExpression,StiValueEndExpression,StiValueExpression,StiValueHighExpression,StiValueLowExpression,StiValueOpenExpression,StiVariable
public class StiExpression
extends Object
implements IStiSerializable, IStiSerializableToString, Cloneable, IStiDefault, IStiJsonReportObject
Describes class that contains an expression.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new expression.StiExpression(String value) Creates a new expression. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a copy of the current instance.voiddeserialize(String strObject) voiddeserializeStr(String value) booleanReturns the event for processing of expression when genertion of the report script.booleanGets value, indicates that the value is to be a string.booleanGets value, indicates that it is necessary to add methods of getting the expression value to the event handler.getValue()Gets or sets value of the expression.booleanvoidLoadFromJsonObject(JSONObject jObject) voidtoString()
-
Field Details
-
value
-
ParentComponent
-
-
Constructor Details
-
StiExpression
public StiExpression()Creates a new expression. -
StiExpression
Creates a new expression.- Parameters:
val- Gets or sets the expression value.
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
getValue
Gets or sets value of the expression. -
setValue
-
getFullConvert
public boolean getFullConvert()Gets value, indicates that the value is to be a string. -
getApplyFormat
public boolean getApplyFormat() -
getGenAddEvent
public boolean getGenAddEvent()Gets value, indicates that it is necessary to add methods of getting the expression value to the event handler. -
getDefaultEvent
Returns the event for processing of expression when genertion of the report script.- Returns:
- Event for expression processing.
-
toString
-
clone
Creates a new object that is a copy of the current instance. -
serialize
- Specified by:
serializein interfaceIStiSerializableToString
-
deserialize
- Specified by:
deserializein interfaceIStiSerializableToString
-
deserializeStr
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceIStiDefault
-