org.jfree.chart.imagemap
Interface ToolTipTagFragmentGenerator
- DynamicDriveToolTipTagFragmentGenerator, OverLIBToolTipTagFragmentGenerator, StandardToolTipTagFragmentGenerator
Interface for generating the tooltip fragment of an HTML image map area tag.
The fragment should be XHTML 1.0
compliant.
generateToolTipFragment
public String generateToolTipFragment(String toolTipText)
Generates a tooltip string to go in an HTML image map. To allow for
varying standards compliance among browsers, this method is expected
to return an 'alt' attribute IN ADDITION TO whatever it does to create
the tooltip (often a 'title' attribute).
toolTipText
- the tooltip.
- The formatted HTML area tag attribute(s).