Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeAccess.java @ 2666:6da7e064ae90
Allow basic and styled area labels, yet on static position within plot.
flys-artifacts/trunk@4344 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 03 May 2012 20:27:01 +0000 |
parents | 5144369d5961 |
children | b75681c09ef8 |
comparison
equal
deleted
inserted
replaced
2665:bcf4011fa3f1 | 2666:6da7e064ae90 |
---|---|
2 | 2 |
3 import java.awt.Color; | 3 import java.awt.Color; |
4 import java.awt.Font; | 4 import java.awt.Font; |
5 | 5 |
6 import org.w3c.dom.Document; | 6 import org.w3c.dom.Document; |
7 | |
8 import de.intevation.flys.jfree.StableXYDifferenceRenderer; | |
7 | 9 |
8 import org.jfree.chart.annotations.XYTextAnnotation; | 10 import org.jfree.chart.annotations.XYTextAnnotation; |
9 | 11 |
10 | 12 |
11 /** Undocumented. */ | 13 /** Undocumented. */ |
159 } | 161 } |
160 else { | 162 else { |
161 ta.setRotationAngle(0f*Math.PI/180f); | 163 ta.setRotationAngle(0f*Math.PI/180f); |
162 } | 164 } |
163 } | 165 } |
166 | |
167 public void apply(StableXYDifferenceRenderer renderer) { | |
168 renderer.setLabelColor(textColor); | |
169 renderer.setLabelFont(font); | |
170 } | |
164 } | 171 } |
165 } | 172 } |
166 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 173 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |