Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/CollisionFreeLineLabelEntity.java @ 3023:e19ff9086035
Avoid collisions between line labels.
flys-artifacts/trunk@4590 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 05 Jun 2012 15:03:11 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3022:705d2058b682 | 3023:e19ff9086035 |
---|---|
1 package de.intevation.flys.jfree; | |
2 | |
3 import java.awt.Shape; | |
4 | |
5 import org.jfree.chart.entity.XYAnnotationEntity; | |
6 | |
7 /** | |
8 * Chart Entity for Line Labels that should not collide. | |
9 */ | |
10 public class CollisionFreeLineLabelEntity | |
11 extends XYAnnotationEntity { | |
12 public CollisionFreeLineLabelEntity( | |
13 Shape hotspot, | |
14 int rendererIndex, | |
15 String toolTip, | |
16 String url | |
17 ) { | |
18 super(hotspot, rendererIndex, toolTip, url); | |
19 } | |
20 } | |
21 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |