Package org.pepstock.charba.client
Interface ChartsLifecycleListener
- 
 public interface ChartsLifecycleListenerInterface to catch the initialization, destroy and configuration of all charts.
 This is acting differently from a chart plugin because it will get all triggers for all charts.
 Used to clean up resources, created by a special implementation and not ot-of-the-box of Charba, like CHART.JS plugins.- Author:
- Andrea "Stock" Stocchero
- See Also:
- Charts
 
- 
- 
Method SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default voidonAfterConfigure(IsChart chart)Called after 'chart' has been configured.default voidonAfterDestroy(IsChart chart)Called after the chart has been destroyed.default voidonAfterInit(IsChart chart)Called after 'chart' has been initialized.default voidonBeforeConfigure(IsChart chart)Called before configuring 'chart'.default voidonBeforeDestroy(IsChart chart)Called before the chart has been destroyed.default voidonBeforeInit(IsChart chart)Called before initializing 'chart'.
 
- 
- 
- 
Method Detail- 
onBeforeInitdefault void onBeforeInit(IsChart chart) Called before initializing 'chart'.- Parameters:
- chart- the chart instance.
 
 - 
onAfterInitdefault void onAfterInit(IsChart chart) Called after 'chart' has been initialized.- Parameters:
- chart- the chart instance.
 
 - 
onBeforeConfiguredefault void onBeforeConfigure(IsChart chart) Called before configuring 'chart'.- Parameters:
- chart- the chart instance.
 
 - 
onAfterConfiguredefault void onAfterConfigure(IsChart chart) Called after 'chart' has been configured.- Parameters:
- chart- the chart instance.
 
 - 
onBeforeDestroydefault void onBeforeDestroy(IsChart chart) Called before the chart has been destroyed.- Parameters:
- chart- the chart instance.
 
 - 
onAfterDestroydefault void onAfterDestroy(IsChart chart) Called after the chart has been destroyed.- Parameters:
- chart- the chart instance.
 
 
- 
 
-