Package org.jfree.chart.imagemap
Interface URLTagFragmentGenerator
- All Known Implementing Classes:
StandardURLTagFragmentGenerator
public interface URLTagFragmentGenerator
Interface for generating the URL fragment of an HTML image map area tag.
-
Method Summary
Modifier and TypeMethodDescriptiongenerateURLFragment
(String urlText) Generates a URL string to go in an HTML image map.
-
Method Details
-
generateURLFragment
Generates a URL string to go in an HTML image map.
Note that theurlText
will be created by a URL generator (such asCategoryURLGenerator
,PieURLGenerator
,XYURLGenerator
orXYZURLGenerator
) 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).
-