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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
onAfterRegister(ControllerType controllerType, boolean registered)
Invoked after the controller is registered to CHART.JS.default void
onBeforeRegister(ControllerType controllerType)
Invoked before the controller will be register to CHART.JS.
-
-
-
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 registeringregistered
-true
if the controller has been registered otherwisefalse
-
-