Interface ControllerRegistrationHandler


  • public interface ControllerRegistrationHandler
    This interface enables the capability to be before and after a controller will be registered.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeRegister

        default void onBeforeRegister​(ControllerType controllerType)
        Invoked before the controller will be register to CHART.JS.
        Parameters:
        controllerType - the controller type which is registering
      • onAfterRegister

        default void onAfterRegister​(ControllerType controllerType,
                                     boolean registered)
        Invoked after the controller is registered to CHART.JS.
        Parameters:
        controllerType - the controller type which is registering
        registered - true if the controller has been registered otherwise false