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 TooltipBodyCallback
getBodyCallback()
Returns the user body callback.IsChart
getChart()
Returns the chart instanceprotected ExtendedOptions
getConfiguration()
Returns the configuration element.TooltipFooterCallback
getFooterCallback()
Returns the user footer callback.TooltipLabelCallback
getLabelCallback()
Returns the user label callback.protected ConfigurationOptions
getOptions()
Returns the configuration options.TooltipTitleCallback
getTitleCallback()
Returns the user title callback.void
setBodyCallback(TooltipBodyCallback bodyCallback)
Sets the user body callback.void
setFooterCallback(TooltipFooterCallback footerCallback)
Sets the user footer callback.void
setLabelCallback(TooltipLabelCallback labelCallback)
Sets the user label callback.void
setTitleCallback(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
-
-