Package org.jfree.chart.imagemap
Class DynamicDriveToolTipTagFragmentGenerator
java.lang.Object
org.jfree.chart.imagemap.DynamicDriveToolTipTagFragmentGenerator
- All Implemented Interfaces:
ToolTipTagFragmentGenerator
public class DynamicDriveToolTipTagFragmentGenerator
extends Object
implements ToolTipTagFragmentGenerator
Generates tooltips using the Dynamic Drive DHTML Tip Message
library (http://www.dynamicdrive.com).
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlank constructor.DynamicDriveToolTipTagFragmentGenerator
(String title, int style) Creates a new generator with specific title and style settings. -
Method Summary
Modifier and TypeMethodDescriptiongenerateToolTipFragment
(String toolTipText) Generates a tooltip string to go in an HTML image map.
-
Field Details
-
title
The title, empty string not to display -
style
The style number
-
-
Constructor Details
-
DynamicDriveToolTipTagFragmentGenerator
Blank constructor. -
DynamicDriveToolTipTagFragmentGenerator
Creates a new generator with specific title and style settings.- Parameters:
title
- title for use in all tooltips, use empty String not to display a title.style
- style number, see http://www.dynamicdrive.com for more information.
-
-
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).
-