Class Crosshair
- java.lang.Object
-
- org.pepstock.charba.client.impl.plugins.Crosshair
-
- All Implemented Interfaces:
PluginContainer
public final class Crosshair extends Object
This plugin is drawing horizontal and vertical crosshair on the chart.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static CrosshairOptionsFactory
FACTORY
The factory to create options for plugin.static String
ID
Plugin ID "charbacrosshair".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Crosshair
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 "charbacrosshair".- See Also:
- Constant Field Values
-
FACTORY
public static final CrosshairOptionsFactory FACTORY
The factory to create options for plugin.
-
-
Method Detail
-
get
public static Crosshair 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.
-
-