Interface BeforeEventHook


  • public interface BeforeEventHook
    Called before processing the specified 'event'.
    If any plugin returns false, the event will be discarded.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeEvent

        boolean onBeforeEvent​(IsChart chart,
                              PluginEventArgument argument)
        Called before processing the specified 'event'.
        If any plugin returns false, the event will be discarded.
        Parameters:
        chart - the chart instance.
        argument - instance which contains event context
        Returns:
        false to discard the event.