Package com.inductiveautomation.sfc
Interface ChartObserver
-
public interface ChartObserver
A ChartObserver is notified when the chart or chart elements change state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onBeforeChartStart(ChartContext chartContext)
Provides the full chart context before the chart is started.void
onChartStateChange(java.util.UUID instanceId, ChartStateEnum previousState, ChartStateEnum currentState)
void
onElementStateChange(java.util.UUID chartInstanceId, java.util.UUID elementId, ElementStateEnum previousState, ElementStateEnum currentState)
-
-
-
Method Detail
-
onBeforeChartStart
void onBeforeChartStart(ChartContext chartContext)
Provides the full chart context before the chart is started. Provides an opportunity to modify chart scope or perform other operations before the chart begins.
-
onChartStateChange
void onChartStateChange(java.util.UUID instanceId, ChartStateEnum previousState, ChartStateEnum currentState)
-
onElementStateChange
void onElementStateChange(java.util.UUID chartInstanceId, java.util.UUID elementId, ElementStateEnum previousState, ElementStateEnum currentState)
-
-