java/cewolf-1.0/src/main/java/de/laures/cewolf/taglib/tags/SimpleChartTag.java
author František Kučera <franta-hg@frantovo.cz>
Sat, 28 Feb 2009 21:31:02 +0100
changeset 1 639991d0808a
permissions -rw-r--r--
Rozbalená knihovna verze 1.0
franta-hg@1
     1
/*
franta-hg@1
     2
 * Created on 13.04.2003
franta-hg@1
     3
 *
franta-hg@1
     4
 * To change the template for this generated file go to
franta-hg@1
     5
 * Window>Preferences>Java>Code Generation>Code and Comments
franta-hg@1
     6
 */
franta-hg@1
     7
package de.laures.cewolf.taglib.tags;
franta-hg@1
     8
franta-hg@1
     9
import java.util.Map;
franta-hg@1
    10
franta-hg@1
    11
import de.laures.cewolf.DatasetProducer;
franta-hg@1
    12
import de.laures.cewolf.taglib.AbstractChartDefinition;
franta-hg@1
    13
import de.laures.cewolf.taglib.DataAware;
franta-hg@1
    14
import de.laures.cewolf.taglib.SimpleChartDefinition;
franta-hg@1
    15
franta-hg@1
    16
/**
franta-hg@1
    17
 * @author guido
franta-hg@1
    18
 *
franta-hg@1
    19
 * To change the template for this generated type comment go to
franta-hg@1
    20
 * Window>Preferences>Java>Code Generation>Code and Comments
franta-hg@1
    21
 */
franta-hg@1
    22
public class SimpleChartTag extends AbstractChartTag implements DataAware{
franta-hg@1
    23
    
franta-hg@1
    24
    protected AbstractChartDefinition createChartDefinition() {
franta-hg@1
    25
        return new SimpleChartDefinition();
franta-hg@1
    26
    }
franta-hg@1
    27
franta-hg@1
    28
     public void setDataProductionConfig(DatasetProducer dsp, Map params, boolean useCache) {
franta-hg@1
    29
        ((SimpleChartDefinition)chartDefinition).setDataProductionConfig(dsp, params, useCache);
franta-hg@1
    30
    }
franta-hg@1
    31
franta-hg@1
    32
}