Mercurial > dive4elements > river
annotate flys-artifacts/src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotationEntity.java @ 4187:21f4e4b79121
Refactor GaugeDischargeCurveFacet to be able to set a facet name
For adding another output of the GaugeDischargeCurveArtifact it is necessary to
provide to facet instances with different names. Therefore the
GaugeDischargeCurveFacet is extended to set the facet name in the constructor.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 19 Oct 2012 13:25:49 +0200 |
parents | 79d1db7797e6 |
children |
rev | line source |
---|---|
2318
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.jfree; |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
2 |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
3 import java.awt.Shape; |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
4 |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
5 import org.jfree.chart.entity.XYAnnotationEntity; |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
6 |
3040
79d1db7797e6
Added accidentally ommitted Changes to CollisionFreeXYTextAnnotationEntity class.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2318
diff
changeset
|
7 /** |
79d1db7797e6
Added accidentally ommitted Changes to CollisionFreeXYTextAnnotationEntity class.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2318
diff
changeset
|
8 * Chart Entity for XYTextAnnotations that should not collide. |
79d1db7797e6
Added accidentally ommitted Changes to CollisionFreeXYTextAnnotationEntity class.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2318
diff
changeset
|
9 */ |
2318
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
10 public class CollisionFreeXYTextAnnotationEntity |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
11 extends XYAnnotationEntity { |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
12 public CollisionFreeXYTextAnnotationEntity( |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
13 Shape hotspot, |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
14 int rendererIndex, |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
15 String toolTip, |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
16 String url |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
17 ) { |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
18 super(hotspot, rendererIndex, toolTip, url); |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
19 } |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
20 } |
0b8c04c7f762
Avoid that annotations like the ones used for hyks prevent manual point text annotation rendering.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
21 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |