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).
Author:
Richard Atkinson
  • Constructor Details

    • DynamicDriveToolTipTagFragmentGenerator

      public DynamicDriveToolTipTagFragmentGenerator()
      Blank constructor.
    • DynamicDriveToolTipTagFragmentGenerator

      public DynamicDriveToolTipTagFragmentGenerator​(String title, int style)
      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

      public String generateToolTipFragment​(String toolTipText)
      Generates a tooltip string to go in an HTML image map.
      Specified by:
      generateToolTipFragment in interface ToolTipTagFragmentGenerator
      Parameters:
      toolTipText - the tooltip.
      Returns:
      the formatted HTML area tag attribute(s).