Class TooltipsCallbacks
- java.lang.Object
-
- org.pepstock.charba.client.configuration.TooltipsCallbacks
-
public class TooltipsCallbacks extends Object
Contains all callbacks defined for a toolitp.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TooltipBodyCallbackgetBodyCallback()Returns the user body callback.IsChartgetChart()Returns the chart instanceprotected ExtendedOptionsgetConfiguration()Returns the configuration element.TooltipFooterCallbackgetFooterCallback()Returns the user footer callback.TooltipLabelCallbackgetLabelCallback()Returns the user label callback.protected ConfigurationOptionsgetOptions()Returns the configuration options.TooltipTitleCallbackgetTitleCallback()Returns the user title callback.voidsetBodyCallback(TooltipBodyCallback bodyCallback)Sets the user body callback.voidsetFooterCallback(TooltipFooterCallback footerCallback)Sets the user footer callback.voidsetLabelCallback(TooltipLabelCallback labelCallback)Sets the user label callback.voidsetTitleCallback(TooltipTitleCallback titleCallback)Sets the user title callback.
-
-
-
Method Detail
-
getTitleCallback
public TooltipTitleCallback getTitleCallback()
Returns the user title callback.- Returns:
- the titleCallback
-
setTitleCallback
public void setTitleCallback(TooltipTitleCallback titleCallback)
Sets the user title callback.- Parameters:
titleCallback- the titleCallback to set
-
getBodyCallback
public TooltipBodyCallback getBodyCallback()
Returns the user body callback.- Returns:
- the bodyCallback
-
setBodyCallback
public void setBodyCallback(TooltipBodyCallback bodyCallback)
Sets the user body callback.- Parameters:
bodyCallback- the bodyCallback to set
-
getLabelCallback
public TooltipLabelCallback getLabelCallback()
Returns the user label callback.- Returns:
- the labelCallback
-
setLabelCallback
public void setLabelCallback(TooltipLabelCallback labelCallback)
Sets the user label callback.- Parameters:
labelCallback- the labelCallback to set
-
getFooterCallback
public TooltipFooterCallback getFooterCallback()
Returns the user footer callback.- Returns:
- the footerCallback
-
setFooterCallback
public void setFooterCallback(TooltipFooterCallback footerCallback)
Sets the user footer callback.- Parameters:
footerCallback- the footerCallback to set
-
getOptions
protected final ConfigurationOptions getOptions()
Returns the configuration options.- Returns:
- the configuration options.
-
getConfiguration
protected final ExtendedOptions getConfiguration()
Returns the configuration element.- Returns:
- the configuration element.
-
getChart
public final IsChart getChart()
Returns the chart instance- Returns:
- the chart
-
-