KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > krysalis > jcharts > test > HTMLChartTestable


1 /***********************************************************************************************
2  * File: HTMLChartTestable.java
3  * Last Modified: $Id: HTMLChartTestable.java,v 1.1 2003/05/17 17:01:11 nathaniel_auvil Exp $
4  * Copyright (C) 2000
5  * Author: Nathaniel G. Auvil
6  * Contributor(s):
7  *
8  * Copyright 2002 (C) Nathaniel G. Auvil. All Rights Reserved.
9  *
10  * Redistribution and use of this software and associated documentation
11  * ("Software"), with or without modification, are permitted provided
12  * that the following conditions are met:
13  *
14  * 1. Redistributions of source code must retain copyright
15  * statements and notices. Redistributions must also contain a
16  * copy of this document.
17  *
18  * 2. Redistributions in binary form must reproduce the
19  * above copyright notice, this list of conditions and the
20  * following disclaimer in the documentation and/or other
21  * materials provided with the distribution.
22  *
23  * 3. The name "jCharts" or "Nathaniel G. Auvil" must not be used to
24  * endorse or promote products derived from this Software without
25  * prior written permission of Nathaniel G. Auvil. For written
26  * permission, please contact nathaniel_auvil@users.sourceforge.net
27  *
28  * 4. Products derived from this Software may not be called "jCharts"
29  * nor may "jCharts" appear in their names without prior written
30  * permission of Nathaniel G. Auvil. jCharts is a registered
31  * trademark of Nathaniel G. Auvil.
32  *
33  * 5. Due credit should be given to the jCharts Project
34  * (http://jcharts.sourceforge.net/).
35  *
36  * THIS SOFTWARE IS PROVIDED BY Nathaniel G. Auvil AND CONTRIBUTORS
37  * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
38  * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
39  * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
40  * jCharts OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
41  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
42  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
44  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
45  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
47  * OF THE POSSIBILITY OF SUCH DAMAGE.
48  ************************************************************************************************/

49
50
51 package org.krysalis.jcharts.test;
52
53
54 import org.krysalis.jcharts.imageMap.ImageMap;
55
56
57 /*********************************************************************************************
58  * Interface class for Chart Objects that can be displayed in a jCharts test.
59  *
60  **********************************************************************************************/

61 public interface HTMLChartTestable
62 {
63
64     /*****************************************************************************************
65      *
66      * @param htmlGenerator
67      * @param imageFileName the name of the output test image
68      * @param imageMap if this is NULL we are not creating image map data in html
69      ******************************************************************************************/

70     public void toHTML( HTMLGenerator htmlGenerator, String JavaDoc imageFileName, ImageMap imageMap );
71
72 }
Popular Tags