01: /***********************************************************************************************
02: * File: HTMLTestable.java
03: * Last Modified: $Id: HTMLTestable.java,v 1.1 2003/05/17 17:01:11 nathaniel_auvil Exp $
04: * Copyright (C) 2000
05: * Author: Nathaniel G. Auvil
06: * Contributor(s):
07: *
08: * Copyright 2002 (C) Nathaniel G. Auvil. All Rights Reserved.
09: *
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: ************************************************************************************************/package org.krysalis.jcharts.test;
49:
50: /*********************************************************************************************
51: * Interface class for Objects that can be displayed in a jCharts test.
52: *
53: **********************************************************************************************/
54: public interface HTMLTestable {
55:
56: /*********************************************************************************************
57: * Enables the testing routines to display the contents of this Object.
58: *
59: * @param htmlGenerator
60: **********************************************************************************************/
61: public void toHTML(HTMLGenerator htmlGenerator);
62:
63: }
|