org.jfree.chart.imagemap

Interface URLTagFragmentGenerator

public interface URLTagFragmentGenerator

Interface for generating the URL fragment of an HTML image map area tag.
Method Summary
StringgenerateURLFragment(String urlText)
Generates a URL string to go in an HTML image map.

Method Detail

generateURLFragment

public String generateURLFragment(String urlText)
Generates a URL string to go in an HTML image map.

Note that the urlText will be created by a URL generator (such as CategoryURLGenerator, PieURLGenerator, XYURLGenerator or XYZURLGenerator) and that generator is responsible for ensuring that the URL text is correctly escaped.

Parameters: urlText the URL text (fully escaped).

Returns: The formatted HTML area tag attribute(s).