Package com.inductiveautomation.sfc
Interface ChartObserver
public interface ChartObserver
A ChartObserver is notified when the chart or chart elements change state.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeChartStart
(ChartContext chartContext) Provides the full chart context before the chart is started.void
onChartStateChange
(UUID instanceId, ChartStateEnum previousState, ChartStateEnum currentState) void
onElementStateChange
(UUID chartInstanceId, UUID elementId, ElementStateEnum previousState, ElementStateEnum currentState)
-
Method Details
-
onBeforeChartStart
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
-
onElementStateChange
void onElementStateChange(UUID chartInstanceId, UUID elementId, ElementStateEnum previousState, ElementStateEnum currentState)
-