Package org.pepstock.charba.client.plugins
Contains all classes to manage the plugin implementations.
- Author:
- Andrea "Stock" Stocchero
-
Class Summary Class Description AbstractExtensionPlugin<T extends AbstractPluginOptions> Commons methods of extension, plugins out-of-the-box written in java script, to import and manage by Charba.AbstractPlugin Implements a plugin interface to help who will create a plugin do not create all methods.
The only method not implemented isgetId
which must implemented.
AllonBefore*
cancelable methods returntrue
.AbstractPluginOptions Abstract plugin options where to set all the configuration needed to the plugin.AbstractPluginOptionsFactory<T extends AbstractPluginOptions> Factory to get the plugin options (form chart, from datasets or from default global ones) related to the plugin.GlobalPlugins Global configuration to set plugins at global level.
It maps the CHART.JS object of default,chart.plugins
.PluginIdChecker This utility checks if the plug ID is acceptable or not.Plugins Is the manager of plugins which can manage the list of plugins and returns them as java script object to store in the chart configuration.PluginsEnvelop<T> This object is a container of hidden object to pass to other packages.
It can not be instantiated in order that public methods can be invoked in safe mode. -
Enum Summary Enum Description AbstractPluginOptions.Property Name of properties of native object.