ingo@2321: package de.intevation.flys.jfree; ingo@2321: ingo@2321: import org.apache.log4j.Logger; ingo@2321: ingo@2321: import org.w3c.dom.Document; ingo@2321: ingo@2321: import org.jfree.data.time.TimeSeries; ingo@2321: ingo@2321: ingo@2321: /** ingo@2321: * @author Ingo Weinzierl ingo@2321: */ ingo@2321: public class StyledTimeSeries extends TimeSeries implements StyledSeries { ingo@2321: ingo@2321: private static final Logger logger = ingo@2321: Logger.getLogger(StyledTimeSeries.class); ingo@2321: ingo@2321: ingo@2321: protected Style style; ingo@2321: ingo@2321: ingo@2321: public StyledTimeSeries(String key, Document theme) { ingo@2321: super(key); ingo@2321: setStyle(new XYStyle(theme)); ingo@2321: } ingo@2321: ingo@2321: ingo@2321: @Override ingo@2321: public void setStyle(Style style) { ingo@2321: this.style = style; ingo@2321: } ingo@2321: ingo@2321: ingo@2321: @Override ingo@2321: public Style getStyle() { ingo@2321: return style; ingo@2321: } ingo@2321: } ingo@2321: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :