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 TypeMethodDescriptionvoidonBeforeChartStart(ChartContext chartContext) Provides the full chart context before the chart is started.voidonChartStateChange(UUID instanceId, ChartStateEnum previousState, ChartStateEnum currentState) voidonElementStateChange(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)
-