public abstract class StiEvent extends java.lang.Object implements IStiSerializable, IStiSerializableToString, java.lang.Cloneable, IStiDefault, IStiJsonReportObject
| Constructor and Description |
|---|
StiEvent()
Creates a new object of the type StiEvent.
|
StiEvent(StiComponent parent)
Creates a new object of the type StiEvent with specified arguments.
|
StiEvent(StiComponent parent,
java.lang.String script) |
StiEvent(java.lang.String script)
Creates a new object of the type StiEvent with specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance.
|
void |
deserialize(java.lang.String strObject) |
java.lang.Class |
getEventType()
Return the type of the event.
|
StiParameterInfo[] |
getParameters()
Returns an array of event parameters.
|
protected java.lang.String |
getPropertyName() |
java.lang.String |
getScript()
Gets or sets Script of the event.
|
boolean |
isDefault() |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
java.lang.String |
serialize() |
void |
set(StiComponent parent,
java.lang.String value) |
void |
Set(StiComponent parent,
java.lang.String value) |
void |
setScript(java.lang.String value) |
public StiEvent()
public StiEvent(java.lang.String script)
script - Script of the event.public StiEvent(StiComponent parent)
parent - Component which contain this event.public StiEvent(StiComponent parent, java.lang.String script)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectJSONExceptionprotected final java.lang.String getPropertyName()
public final java.lang.String getScript()
public final void setScript(java.lang.String value)
public final void set(StiComponent parent, java.lang.String value)
public void Set(StiComponent parent, java.lang.String value)
public StiParameterInfo[] getParameters()
public java.lang.Class getEventType()
public final java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String serialize()
serialize in interface IStiSerializableToStringpublic boolean isDefault()
isDefault in interface IStiDefaultpublic void deserialize(java.lang.String strObject)
deserialize in interface IStiSerializableToStringCopyright © 2019 Stimulsoft. All Rights Reserved.