Package com.stimulsoft.report.events
Class StiEvent
java.lang.Object
com.stimulsoft.report.events.StiEvent
- All Implemented Interfaces:
IStiDefault,IStiJsonReportObject,IStiSerializable,IStiSerializableToString,Cloneable
- Direct Known Subclasses:
StiAfterPrintEvent,StiAfterSelectEvent,StiBeforePrintEvent,StiBeginRenderEvent,StiCheckedChangedEvent,StiClickEvent,StiClosedFormEvent,StiClosingFormEvent,StiColumnBeginRenderEvent,StiColumnEndRenderEvent,StiConnectedEvent,StiConnectingEvent,StiDisconnectedEvent,StiDisconnectingEvent,StiDoubleClickEvent,StiEndRenderEvent,StiEnterEvent,StiExportedEvent,StiExportingEvent,StiFillDataEvent,StiFillParametersEvent,StiGetArgumentEvent,StiGetBarCodeEvent,StiGetBookmarkEvent,StiGetCheckedEvent,StiGetCollapsedEvent,StiGetCrossValueEvent,StiGetCutPieListEvent,StiGetDisplayCrossValueEvent,StiGetDrillDownReportEvent,StiGetExcelSheetEvent,StiGetExcelValueEvent,StiGetFilterEvent,StiGetGroupConditionEvent,StiGetHyperlinkEvent,StiGetImageDataEvent,StiGetImageURLEvent,StiGetListOfArgumentsEvent,StiGetListOfHyperlinksEvent,StiGetListOfTagsEvent,StiGetListOfToolTipsEvent,StiGetListOfValuesCloseEvent,StiGetListOfValuesEndEvent,StiGetListOfValuesEvent,StiGetListOfValuesHighEvent,StiGetListOfValuesLowEvent,StiGetListOfValuesOpenEvent,StiGetListOfWeightsEvent,StiGetSummaryExpressionEvent,StiGetTagEvent,StiGetTitleEvent,StiGetToolTipEvent,StiGetValueCloseEvent,StiGetValueEndEvent,StiGetValueEvent,StiGetValueHighEvent,StiGetValueLowEvent,StiGetValueOpenEvent,StiGetZipCodeEvent,StiLeaveEvent,StiLoadFormEvent,StiMouseDownEvent,StiMouseEnterEvent,StiMouseLeaveEvent,StiMouseMoveEvent,StiMouseUpEvent,StiMoveFooterToBottomEvent,StiNewAutoSeriesEvent,StiPositionChangedEvent,StiPrintedEvent,StiPrintingEvent,StiProcessCellEvent,StiProcessChartEvent,StiProcessChartEvent,StiRenderingEvent,StiSelectedIndexChangedEvent,StiStateRestoreEvent,StiStateSaveEvent,StiValueChangedEvent
public abstract class StiEvent
extends Object
implements IStiSerializable, IStiSerializableToString, Cloneable, IStiDefault, IStiJsonReportObject
Describes the base class for realization of the Event.
-
Constructor Summary
ConstructorsConstructorDescriptionStiEvent()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, String script) Creates a new object of the type StiEvent with specified arguments. -
Method Summary
Modifier and TypeMethodDescriptionfinal Objectclone()Creates a new object that is a copy of the current instance.voiddeserialize(String strObject) Return the type of the event.Returns an array of event parameters.final Stringfinal StringGets or sets Script of the event.booleanfinal booleanvoidLoadFromJsonObject(JSONObject jObject) final voidset(StiComponent parent, String value) voidSet(StiComponent parent, String value) final void
-
Constructor Details
-
StiEvent
public StiEvent()Creates a new object of the type StiEvent. -
StiEvent
Creates a new object of the type StiEvent with specified arguments.- Parameters:
script- Script of the event.
-
StiEvent
Creates a new object of the type StiEvent with specified arguments.- Parameters:
parent- Component which contain this event.
-
StiEvent
-
-
Method Details
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
getPropertyName
-
isPresent
public final boolean isPresent() -
getScript
Gets or sets Script of the event. -
setScript
-
set
-
Set
-
getParameters
Returns an array of event parameters.- Returns:
- Array of event parameters.
-
getEventType
Return the type of the event.- Returns:
- Event type.
-
clone
Creates a new object that is a copy of the current instance. -
serialize
- Specified by:
serializein interfaceIStiSerializableToString
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceIStiDefault
-
deserialize
- Specified by:
deserializein interfaceIStiSerializableToString
-