Class HtmlLegend
- java.lang.Object
-
- org.pepstock.charba.client.impl.plugins.HtmlLegend
-
- All Implemented Interfaces:
PluginContainer
public final class HtmlLegend extends Object
This plugin implements a HTML legend in order to give more flexibility to who needs to customize the legend.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static HtmlLegendOptionsFactory
FACTORY
The factory to create options for plugin.static String
ID
Plugin ID "charbahtmllegend".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HtmlLegend
get()
Returns the singleton instance of plugin.void
loadPlugin(PluginsEnvelop<Plugin> envelop)
Loads the plugin to the envelop in order to pass it without exposing the methods.
-
-
-
Field Detail
-
ID
public static final String ID
Plugin ID "charbahtmllegend".- See Also:
- Constant Field Values
-
FACTORY
public static final HtmlLegendOptionsFactory FACTORY
The factory to create options for plugin.
-
-
Method Detail
-
get
public static HtmlLegend get()
Returns the singleton instance of plugin.- Returns:
- the singleton instance of plugin
-
loadPlugin
public final void loadPlugin(PluginsEnvelop<Plugin> envelop)
Description copied from interface:PluginContainer
Loads the plugin to the envelop in order to pass it without exposing the methods.- Specified by:
loadPlugin
in interfacePluginContainer
- Parameters:
envelop
- envelop where the plugin instance must be stored.
-
-