Java 类org.jfree.chart.imagemap.ImageMapUtilities 实例源码

项目:astor    文件:ImageMapUtilitiesTests.java   
/**
 * Some checks for the htmlEscape() method.
 */
public void testHTMLEscape() {
    assertEquals("", ImageMapUtilities.htmlEscape(""));
    assertEquals("abc", ImageMapUtilities.htmlEscape("abc"));
    assertEquals("&", ImageMapUtilities.htmlEscape("&"));
    assertEquals(""", ImageMapUtilities.htmlEscape("\""));
    assertEquals("&lt;", ImageMapUtilities.htmlEscape("<"));
    assertEquals("&gt;", ImageMapUtilities.htmlEscape(">"));
    assertEquals("&#39;", ImageMapUtilities.htmlEscape("\'"));
    assertEquals("&#092;abc", ImageMapUtilities.htmlEscape("\\abc"));
    assertEquals("abc\n", ImageMapUtilities.htmlEscape("abc\n"));
}
项目:astor    文件:ImageMapUtilitiesTests.java   
/**
 * Some checks for the javascriptEscape() method.
 */
public void testJavascriptEscape() {
    assertEquals("", ImageMapUtilities.javascriptEscape(""));
    assertEquals("abc", ImageMapUtilities.javascriptEscape("abc"));
    assertEquals("\\\'", ImageMapUtilities.javascriptEscape("\'"));
    assertEquals("\\\"", ImageMapUtilities.javascriptEscape("\""));
    assertEquals("\\\\", ImageMapUtilities.javascriptEscape("\\"));
}
项目:openreports    文件:ChartReportAction.java   
public String execute()
{       
    ReportUser user = (ReportUser) ActionContext.getContext().getSession().get(
            ORStatics.REPORT_USER);

    report = (Report) ActionContext.getContext().getSession().get(ORStatics.REPORT);

    Map<String,Object> reportParameters = getReportParameterMap(user);

    ReportLog reportLog = new ReportLog(user, report, new Date());

    try
    {
        log.debug("Starting Chart Report: " + report.getName());            

        reportLogProvider.insertReportLog(reportLog);               

        ChartReportEngine chartReportEngine = new ChartReportEngine(
                dataSourceProvider, directoryProvider, propertiesProvider);

        ReportEngineInput input = new ReportEngineInput(report, reportParameters);

        ChartEngineOutput chartOutput = (ChartEngineOutput) chartReportEngine
                .generateReport(input); 

        chartValues = chartOutput.getChartValues();
        if (chartValues.length == 0)
        {
            addActionError(getText(LocalStrings.ERROR_REPORT_EMPTY));
        }

        imageMap = ImageMapUtilities.getImageMap("chart", chartOutput.getChartRenderingInfo());                     

        HashMap<String,byte[]> imagesMap = new HashMap<String,byte[]>();
        imagesMap.put("ChartImage", chartOutput.getContent());          

        session.put(ORStatics.IMAGES_MAP, imagesMap);           

        reportLog.setEndTime(new Date());
        reportLog.setStatus(ReportLog.STATUS_SUCCESS);
        reportLogProvider.updateReportLog(reportLog);

           /* 
            * set chartRequestId to the current time so that it can be added to
            * the imageLoader URL to make a unique URL and prevent image caching
            */
           chartRequestId = reportLog.getEndTime().getTime();

        log.debug("Finished Chart Report: " + report.getName());
    }
    catch (Exception e)
    {           
        addActionError(getText(e.getMessage()));

        reportLog.setMessage(getText(e.getMessage()));
        reportLog.setStatus(ReportLog.STATUS_FAILURE);

        reportLog.setEndTime(new Date());

        try
        {
            reportLogProvider.updateReportLog(reportLog);
        }
        catch (Exception ex)
        {
            log.error("Unable to create ReportLog: " + ex.getMessage());
        }

        return ERROR;
    }       

    return SUCCESS;
}
项目:openreportsv2    文件:ChartReportAction.java   
public String execute()
{       
    ReportUser user = (ReportUser) ActionContext.getContext().getSession().get(
            ORStatics.REPORT_USER);

    report = (Report) ActionContext.getContext().getSession().get(ORStatics.REPORT);

    Map<String,Object> reportParameters = getReportParameterMap(user);

    ReportLog reportLog = new ReportLog(user, report, new Date());

    try
    {
        log.debug("Starting Chart Report: " + report.getName());            

        reportLogProvider.insertReportLog(reportLog);               

        ChartReportEngine chartReportEngine = new ChartReportEngine(
                dataSourceProvider, directoryProvider, propertiesProvider);

        ReportEngineInput input = new ReportEngineInput(report, reportParameters);

        ChartEngineOutput chartOutput = (ChartEngineOutput) chartReportEngine
                .generateReport(input); 

        chartValues = chartOutput.getChartValues();
        if (chartValues.length == 0)
        {
            addActionError(getText(LocalStrings.ERROR_REPORT_EMPTY));
        }

        imageMap = ImageMapUtilities.getImageMap("chart", chartOutput.getChartRenderingInfo());                     

        HashMap<String,byte[]> imagesMap = new HashMap<String,byte[]>();
        imagesMap.put("ChartImage", chartOutput.getContent());          

        session.put(ORStatics.IMAGES_MAP, imagesMap);           

        reportLog.setEndTime(new Date());
        reportLog.setStatus(ReportLog.STATUS_SUCCESS);
        reportLogProvider.updateReportLog(reportLog);

           /* 
            * set chartRequestId to the current time so that it can be added to
            * the imageLoader URL to make a unique URL and prevent image caching
            */
           chartRequestId = reportLog.getEndTime().getTime();

        log.debug("Finished Chart Report: " + report.getName());
    }
    catch (Exception e)
    {           
        addActionError(getText(e.getMessage()));

        reportLog.setMessage(getText(e.getMessage()));
        reportLog.setStatus(ReportLog.STATUS_FAILURE);

        reportLog.setEndTime(new Date());

        try
        {
            reportLogProvider.updateReportLog(reportLog);
        }
        catch (Exception ex)
        {
            log.error("Unable to create ReportLog: " + ex.getMessage());
        }

        return ERROR;
    }       

    return SUCCESS;
}
项目:parabuild-ci    文件:ChartUtilities.java   
/**
 * 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));
}
项目:parabuild-ci    文件:ChartUtilities.java   
/**
 * 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);

}
项目:ccu-historian    文件:ChartUtilities.java   
/**
 * 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));
}
项目:ccu-historian    文件:ChartUtilities.java   
/**
 * 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);

}
项目:aya-lang    文件:ChartUtilities.java   
/**
 * 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));
}
项目:aya-lang    文件:ChartUtilities.java   
/**
 * 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);

}
项目:HTML5_WebSite    文件:ChartUtilities.java   
/**
 * 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));
}
项目:HTML5_WebSite    文件:ChartUtilities.java   
/**
 * 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);

}
项目:populus    文件:ChartUtilities.java   
/**
 * 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));
}
项目:populus    文件:ChartUtilities.java   
/**
 * 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);

}
项目:PI    文件:ChartUtilities.java   
/**
 * 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));
}
项目:PI    文件:ChartUtilities.java   
/**
 * 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);

}
项目:nabs    文件:ChartUtilities.java   
/**
 * 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));
}
项目:nabs    文件:ChartUtilities.java   
/**
 * 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);

}
项目:ECG-Viewer    文件:ChartUtilities.java   
/**
 * 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));
}
项目:ECG-Viewer    文件:ChartUtilities.java   
/**
 * 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);

}
项目:astor    文件:ChartUtilities.java   
/**
 * 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));
}
项目:astor    文件:ChartUtilities.java   
/**
 * 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);

}
项目:opensim-gui    文件:ChartUtilities.java   
/**
 * 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));
}
项目:opensim-gui    文件:ChartUtilities.java   
/**
 * 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);

}
项目:group-five    文件:ChartUtilities.java   
/**
 * 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));
}
项目:group-five    文件:ChartUtilities.java   
/**
 * 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);

}
项目:manydesigns.cn    文件:ChartUtilities.java   
/**
 * 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));
}
项目:manydesigns.cn    文件:ChartUtilities.java   
/**
 * 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);

}
项目:buffer_bci    文件:ChartUtilities.java   
/**
 * 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));
}
项目:buffer_bci    文件:ChartUtilities.java   
/**
 * 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);

}
项目:buffer_bci    文件:ChartUtilities.java   
/**
 * 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));
}
项目:buffer_bci    文件:ChartUtilities.java   
/**
 * 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);

}
项目:proyecto-teoria-control-utn-frro    文件:ChartUtilities.java   
/**
 * 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));
}
项目:proyecto-teoria-control-utn-frro    文件:ChartUtilities.java   
/**
 * 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);

}
项目:Memetic-Algorithm-for-TSP    文件:ChartUtilities.java   
/**
 * 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));
}
项目:Memetic-Algorithm-for-TSP    文件:ChartUtilities.java   
/**
 * 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);

}
项目:parabuild-ci    文件:ChartUtilities.java   
/**
 * Creates an HTML image map.  This method maps to 
 * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo, 
 * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}, using default 
 * generators.
 *
 * @param name  the map name (<code>null</code> not permitted).
 * @param info  the chart rendering info (<code>null</code> not permitted).
 *
 * @return The map tag.
 */
public static String getImageMap(String name, ChartRenderingInfo info) {
    return ImageMapUtilities.getImageMap(name, info,
            new StandardToolTipTagFragmentGenerator(),
            new StandardURLTagFragmentGenerator());
}
项目:ccu-historian    文件:ChartUtilities.java   
/**
 * Creates an HTML image map.  This method maps to
 * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo,
 * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}, using default
 * generators.
 *
 * @param name  the map name (<code>null</code> not permitted).
 * @param info  the chart rendering info (<code>null</code> not permitted).
 *
 * @return The map tag.
 */
public static String getImageMap(String name, ChartRenderingInfo info) {
    return ImageMapUtilities.getImageMap(name, info,
            new StandardToolTipTagFragmentGenerator(),
            new StandardURLTagFragmentGenerator());
}
项目:aya-lang    文件:ChartUtilities.java   
/**
 * Creates an HTML image map.  This method maps to
 * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo,
 * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}, using default
 * generators.
 *
 * @param name  the map name (<code>null</code> not permitted).
 * @param info  the chart rendering info (<code>null</code> not permitted).
 *
 * @return The map tag.
 */
public static String getImageMap(String name, ChartRenderingInfo info) {
    return ImageMapUtilities.getImageMap(name, info,
            new StandardToolTipTagFragmentGenerator(),
            new StandardURLTagFragmentGenerator());
}
项目:HTML5_WebSite    文件:ChartUtilities.java   
/**
 * Creates an HTML image map.  This method maps to
 * {@link ImageMapUtilities#getImageMap(String, ChartRenderingInfo,
 * ToolTipTagFragmentGenerator, URLTagFragmentGenerator)}, using default
 * generators.
 *
 * @param name  the map name (<code>null</code> not permitted).
 * @param info  the chart rendering info (<code>null</code> not permitted).
 *
 * @return The map tag.
 */
public static String getImageMap(String name, ChartRenderingInfo info) {
    return ImageMapUtilities.getImageMap(name, info,
            new StandardToolTipTagFragmentGenerator(),
            new StandardURLTagFragmentGenerator());
}