Class AbstractTooltipPositioner
- java.lang.Object
- 
- org.pepstock.charba.client.positioner.AbstractTooltipPositioner
 
- 
- All Implemented Interfaces:
- TooltipPositioner
 
 public abstract class AbstractTooltipPositioner extends Object implements TooltipPositioner Abstract class which implements a positioner. It helps to create a custom positioner, creating a custom tooltip position using the name as string passed as argument.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractTooltipPositioner(String name)Creates the positioner passing the name of tooltip position as argument.
 If the name is one of out of the box ones, seeTooltipPosition, an exception is launched.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomTooltipPositiongetName()Returns the name of tooltip position which must be used in chart options.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.positioner.TooltipPositionercomputePosition
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractTooltipPositionerprotected AbstractTooltipPositioner(String name) Creates the positioner passing the name of tooltip position as argument.
 If the name is one of out of the box ones, seeTooltipPosition, an exception is launched.- Parameters:
- name- of tooltip position.
 
 
- 
 - 
Method Detail- 
getNamepublic final CustomTooltipPosition getName() Description copied from interface:TooltipPositionerReturns the name of tooltip position which must be used in chart options.- Specified by:
- getNamein interface- TooltipPositioner
- Returns:
- the name of tooltip position.
- See Also:
- Tooltips.setPosition(org.pepstock.charba.client.enums.IsTooltipPosition)
 
 
- 
 
-