org.jfree.chart.imagemap
public class ImageMapUtilities extends Object
Method Summary | |
---|---|
static String | getImageMap(String name, ChartRenderingInfo info)
Creates an image map element that complies with the XHTML 1.0
specification.
|
static String | getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator)
Creates an image map element that complies with the XHTML 1.0
specification.
|
static void | writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info)
Writes an image map to an output stream.
|
static void | writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, boolean useOverLibForToolTips)
Writes an image map to an output stream.
|
static void | writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator)
Writes an image map to an output stream.
|
Parameters: name the map name (null
not permitted). info the chart rendering info (null
not permitted).
Returns: The map element.
Parameters: name the map name (null
not permitted). info the chart rendering info (null
not permitted). toolTipTagFragmentGenerator a generator for the HTML fragment
that will contain the tooltip text (null
not permitted
if info
contains tooltip information). urlTagFragmentGenerator a generator for the HTML fragment that
will contain the URL reference (null
not permitted if
info
contains URLs).
Returns: The map tag.
Parameters: writer the writer (null
not permitted). name the map name (null
not permitted). info the chart rendering info (null
not permitted).
Throws: java.io.IOException if there are any I/O errors.
Parameters: writer the writer (null
not permitted). name the map name (null
not permitted). info the chart rendering info (null
not permitted). useOverLibForToolTips whether to use OverLIB for tooltips
(http://www.bosrup.com/web/overlib/).
Throws: java.io.IOException if there are any I/O errors.
Parameters: writer the writer (null
not permitted). name the map name (null
not permitted). info the chart rendering info (null
not permitted). toolTipTagFragmentGenerator a generator for the HTML fragment
that will contain the tooltip text (null
not permitted
if info
contains tooltip information). urlTagFragmentGenerator a generator for the HTML fragment that
will contain the URL reference (null
not permitted if
info
contains URLs).
Throws: java.io.IOException if there are any I/O errors.