Class ChartStateEvent
java.lang.Object
com.inductiveautomation.sfc.recorder.Event
com.inductiveautomation.sfc.recorder.ChartStatusEvent
com.inductiveautomation.sfc.recorder.ChartStateEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChartStateEvent
(ChartStateEnum prev, ChartStateEnum cur, ChartStatus status) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fromJson
(JSONObject object) getType()
protected void
toJson
(JSONObject object) Methods inherited from class com.inductiveautomation.sfc.recorder.ChartStatusEvent
getElementStatusType, getStatus
Methods inherited from class com.inductiveautomation.sfc.recorder.Event
createFrom, getTimestamp, toJson
-
Field Details
-
TYPEID
- See Also:
-
-
Constructor Details
-
ChartStateEvent
-
ChartStateEvent
public ChartStateEvent()
-
-
Method Details
-
getType
- Overrides:
getType
in classChartStatusEvent
-
getPreviousState
-
getCurrentState
-
toJson
- Overrides:
toJson
in classChartStatusEvent
- Throws:
JSONException
-
fromJson
- Overrides:
fromJson
in classChartStatusEvent
- Throws:
JSONException
-