org.jfree.chart.imagemap.ToolTipTagFragmentGenerator Java Examples
The following examples show how to use
org.jfree.chart.imagemap.ToolTipTagFragmentGenerator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ChartEntity.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuffer tag = new StringBuffer(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"" + getShapeType() + "\"" + " coords=\"" + getShapeCoords() + "\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( ImageMapUtilities.htmlEscape(this.toolTipText))); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( ImageMapUtilities.htmlEscape(this.urlText))); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #2
Source File: ChartEntity.java From ccu-historian with GNU General Public License v3.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuilder tag = new StringBuilder(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"").append(getShapeType()).append("\"") .append(" coords=\"").append(getShapeCoords()).append("\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #3
Source File: ChartEntity.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuilder tag = new StringBuilder(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"").append(getShapeType()).append("\"") .append(" coords=\"").append(getShapeCoords()).append("\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #4
Source File: ChartEntity.java From opensim-gui with Apache License 2.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuffer tag = new StringBuffer(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"" + getShapeType() + "\"" + " coords=\"" + getShapeCoords() + "\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #5
Source File: ChartEntity.java From SIMVA-SoS with Apache License 2.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuilder tag = new StringBuilder(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"").append(getShapeType()).append("\"") .append(" coords=\"").append(getShapeCoords()).append("\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #6
Source File: ChartEntity.java From openstock with GNU General Public License v3.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuilder tag = new StringBuilder(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"").append(getShapeType()).append("\"") .append(" coords=\"").append(getShapeCoords()).append("\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #7
Source File: ChartEntity.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuilder tag = new StringBuilder(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"").append(getShapeType()).append("\"") .append(" coords=\"").append(getShapeCoords()).append("\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #8
Source File: ChartEntity.java From ECG-Viewer with GNU General Public License v2.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuilder tag = new StringBuilder(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"").append(getShapeType()).append("\"") .append(" coords=\"").append(getShapeCoords()).append("\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #9
Source File: ChartEntity.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Returns an HTML image map tag for this entity. The returned fragment * should be <code>XHTML 1.0</code> compliant. * * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if this entity contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * this entity has a URL). * * @return The HTML tag. */ public String getImageMapAreaTag( ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { StringBuffer tag = new StringBuffer(); boolean hasURL = (this.urlText == null ? false : !this.urlText.equals("")); boolean hasToolTip = (this.toolTipText == null ? false : !this.toolTipText.equals("")); if (hasURL || hasToolTip) { tag.append("<area shape=\"" + getShapeType() + "\"" + " coords=\"" + getShapeCoords() + "\""); if (hasToolTip) { tag.append(toolTipTagFragmentGenerator.generateToolTipFragment( this.toolTipText)); } if (hasURL) { tag.append(urlTagFragmentGenerator.generateURLFragment( this.urlText)); } else { tag.append(" nohref=\"nohref\""); } // if there is a tool tip, we expect it to generate the title and // alt values, so we only add an empty alt if there is no tooltip if (!hasToolTip) { tag.append(" alt=\"\""); } tag.append("/>"); } return tag.toString(); }
Example #10
Source File: ChartUtilities.java From astor with GNU General Public License v2.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #11
Source File: ChartUtilities.java From astor with GNU General Public License v2.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #12
Source File: ChartUtilities.java From opensim-gui with Apache License 2.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #13
Source File: ChartUtilities.java From opensim-gui with Apache License 2.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #14
Source File: ChartUtilities.java From buffer_bci with GNU General Public License v3.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #15
Source File: ChartUtilities.java From buffer_bci with GNU General Public License v3.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #16
Source File: ChartUtilities.java From buffer_bci with GNU General Public License v3.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #17
Source File: ChartUtilities.java From buffer_bci with GNU General Public License v3.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #18
Source File: ChartUtilities.java From astor with GNU General Public License v2.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #19
Source File: ChartUtilities.java From astor with GNU General Public License v2.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #20
Source File: ChartUtilities.java From ECG-Viewer with GNU General Public License v2.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #21
Source File: ChartUtilities.java From ECG-Viewer with GNU General Public License v2.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #22
Source File: ChartUtilities.java From SIMVA-SoS with Apache License 2.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #23
Source File: ChartUtilities.java From SIMVA-SoS with Apache License 2.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #24
Source File: ChartUtilities.java From ccu-historian with GNU General Public License v3.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #25
Source File: ChartUtilities.java From ccu-historian with GNU General Public License v3.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }
Example #26
Source File: ChartUtilities.java From openstock with GNU General Public License v3.0 | 3 votes |
/** * Creates an HTML image map. This method maps directly to * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}. * * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @return The map tag. */ public static String getImageMap(String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) { return ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator); }
Example #27
Source File: ChartUtilities.java From openstock with GNU General Public License v3.0 | 3 votes |
/** * Writes an image map to the specified writer. * * @param writer the writer (<code>null</code> not permitted). * @param name the map name (<code>null</code> not permitted). * @param info the chart rendering info (<code>null</code> not permitted). * @param toolTipTagFragmentGenerator a generator for the HTML fragment * that will contain the tooltip text (<code>null</code> not permitted * if <code>info</code> contains tooltip information). * @param urlTagFragmentGenerator a generator for the HTML fragment that * will contain the URL reference (<code>null</code> not permitted if * <code>info</code> contains URLs). * * @throws IOException if there are any I/O errors. */ public static void writeImageMap(PrintWriter writer, String name, ChartRenderingInfo info, ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator) throws IOException { writer.println(ImageMapUtilities.getImageMap(name, info, toolTipTagFragmentGenerator, urlTagFragmentGenerator)); }