Package org.jfree.chart.imagemap
Class StandardToolTipTagFragmentGenerator
java.lang.Object
org.jfree.chart.imagemap.StandardToolTipTagFragmentGenerator
- All Implemented Interfaces:
ToolTipTagFragmentGenerator
public class StandardToolTipTagFragmentGenerator
extends Object
implements ToolTipTagFragmentGenerator
Generates tooltips using the HTML title attribute for image map area tags.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateToolTipFragment
(String toolTipText) Generates a tooltip string to go in an HTML image map.
-
Constructor Details
-
StandardToolTipTagFragmentGenerator
public StandardToolTipTagFragmentGenerator()Creates a new instance.
-
-
Method Details
-
generateToolTipFragment
Generates a tooltip string to go in an HTML image map.- Specified by:
generateToolTipFragment
in interfaceToolTipTagFragmentGenerator
- Parameters:
toolTipText
- the tooltip.- Returns:
- The formatted HTML area tag attribute(s).
-