Class PowerChartModelDelegate
- java.lang.Object
-
- com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
-
- com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
-
- com.inductiveautomation.perspective.gateway.components.PowerChartModelDelegate
-
public class PowerChartModelDelegate extends ComponentModelDelegate
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringID-
Fields inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
component, log
-
-
Constructor Summary
Constructors Constructor Description PowerChartModelDelegate(Component component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(EventFiredMsg message)A event hook for the delegate.voidonShutdown()voidonStartup()-
Methods inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
fireEvent, getScriptCallableMethods
-
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startup
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PowerChartModelDelegate
public PowerChartModelDelegate(Component component)
-
-
Method Detail
-
onStartup
public void onStartup()
- Specified by:
onStartupin classAbstractLifecycle
-
onShutdown
public void onShutdown()
- Specified by:
onShutdownin classAbstractLifecycle
-
handleEvent
public void handleEvent(EventFiredMsg message)
Description copied from class:ComponentModelDelegateA event hook for the delegate. Invoked when a "model" event is fired over the websocket channel by the component's client side model delegate. Subclasses can choose if and how to handle incoming event messages.- Overrides:
handleEventin classComponentModelDelegate- Parameters:
message-EventFiredMsgAn event fired message.
-
-