Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/jfree/StyledSeries.java @ 9555:ef5754ba5573
Implemented legend aggregation based on type of themes.
Added theme-editor style configuration for aggregated legend entries.
Only configured themes get aggregated.
author | gernotbelger |
---|---|
date | Tue, 23 Oct 2018 16:26:48 +0200 |
parents | af13ceeba52a |
children |
comparison
equal
deleted
inserted
replaced
9554:33ce8eba9806 | 9555:ef5754ba5573 |
---|---|
6 * documentation coming with Dive4Elements River for details. | 6 * documentation coming with Dive4Elements River for details. |
7 */ | 7 */ |
8 | 8 |
9 package org.dive4elements.river.jfree; | 9 package org.dive4elements.river.jfree; |
10 | 10 |
11 import org.dive4elements.river.themes.ThemeDocument; | |
12 import org.jfree.chart.LegendItem; | |
11 | 13 |
12 /** | 14 /** |
13 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 15 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
14 */ | 16 */ |
15 public interface StyledSeries { | 17 public interface StyledSeries { |
16 | 18 |
17 void setStyle(Style style); | 19 String getThemeType(); |
18 | 20 |
19 Style getStyle(); | 21 Style getStyle(); |
22 | |
23 void applyAggregatedLegendTheme(LegendItem item, ThemeDocument theme); | |
20 } | 24 } |
21 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |