Class PluginEventArgument


  • public final class PluginEventArgument
    extends NativeObjectContainer
    This is a wrapper of java script object which represents a event.
    This object is used in the plugins methods of CHART.JS.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • PluginEventArgument

        public PluginEventArgument​(PluginsEnvelop<NativeObject> envelop)
        Creates the item using an envelop of the native java script object which contains all properties.
        Parameters:
        envelop - envelop of the native java script object which contains all properties.
    • Method Detail

      • getEventContext

        public ChartEventContext getEventContext()
        Returns the event context in the CHART.JS event.
        Returns:
        the native event in the CHART.JS event or null if doen't not exist.
      • isReplay

        public boolean isReplay()
        Returns true if this event is replayed from IsChart.update().
        Returns:
        true if this event is replayed from IsChart.update()