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