view gnv-artifacts/src/main/java/de/intevation/gnv/chart/Chart.java @ 774:d0a39efbfd96

Removed race-condition when trying to access the index of the next line color used in charts (applied patch in issue211). gnv-artifacts/trunk@834 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 26 Mar 2010 10:06:36 +0000
parents 79401c871da4
children 9a828e5a2390
line wrap: on
line source
package de.intevation.gnv.chart;

import org.jfree.chart.JFreeChart;

import java.io.Serializable;


/**
 * The <code>Chart</code> interface should be implemented by each type of chart. 
 * The class must implement a method <code>generateChart</code> which returns a 
 * JFreeChart object.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public interface Chart
extends          Serializable
{
    /**
     * This method is used to create a JFreeChart of this object.
     *
     * @return JFreeChart object.
     */
    public JFreeChart generateChart();
}

http://dive4elements.wald.intevation.org