Class ChartStateEvent
- java.lang.Object
 - 
- com.inductiveautomation.sfc.recorder.Event
 - 
- com.inductiveautomation.sfc.recorder.ChartStatusEvent
 - 
- com.inductiveautomation.sfc.recorder.ChartStateEvent
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class ChartStateEvent extends ChartStatusEvent
- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPEID 
- 
Constructor Summary
Constructors Constructor Description ChartStateEvent()ChartStateEvent(ChartStateEnum prev, ChartStateEnum cur, ChartStatus status) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfromJson(JSONObject object)ChartStateEnumgetCurrentState()ChartStateEnumgetPreviousState()java.lang.StringgetType()protected voidtoJson(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 Detail
- 
TYPEID
public static final java.lang.String TYPEID
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
ChartStateEvent
public ChartStateEvent(ChartStateEnum prev, ChartStateEnum cur, ChartStatus status)
 
- 
ChartStateEvent
public ChartStateEvent()
 
 - 
 
- 
Method Detail
- 
getType
public java.lang.String getType()
- Overrides:
 getTypein classChartStatusEvent
 
- 
getPreviousState
public ChartStateEnum getPreviousState()
 
- 
getCurrentState
public ChartStateEnum getCurrentState()
 
- 
toJson
protected void toJson(JSONObject object) throws JSONException
- Overrides:
 toJsonin classChartStatusEvent- Throws:
 JSONException
 
- 
fromJson
protected void fromJson(JSONObject object) throws JSONException
- Overrides:
 fromJsonin classChartStatusEvent- Throws:
 JSONException
 
 - 
 
 -