Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonRenderer.java @ 815:22c18083225e
Removed compiler warnings while JavaDoc generation.
gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 06:59:33 +0000 |
parents | feae2f9d6c6f |
children | f953c9a559d8 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonRenderer.java Fri Apr 09 14:34:45 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonRenderer.java Mon Apr 12 06:59:33 2010 +0000 @@ -92,28 +92,16 @@ public static final PolygonSeriesLabelGenerator DEFAULT_LABEL_GENERATOR_INSTANCE = new DefaultLabelGenerator(); - /** - * - */ protected PaintLookup lookup; - /** - * - */ + protected PolygonSeriesLabelGenerator labelGenerator; - /** - * - * @param lookup - */ + public PolygonRenderer(PaintLookup lookup) { this(lookup, null); } - /** - * - * @param lookup - * @param labelGenerator - */ + public PolygonRenderer( PaintLookup lookup, PolygonSeriesLabelGenerator labelGenerator @@ -127,10 +115,6 @@ * the given graphics object. If a polygon has no attribute 'fill', we * expect that it is a line, otherwise the polygon is filled. * - * @param graphics - * @param plot - * @param area - * @param dataset */ public void drawPolygons( Graphics2D graphics, @@ -163,10 +147,6 @@ * Draw labels at each item of a series in the given dataset. If the series * has no label attritue, no label is drawn. * - * @param graphics - * @param plot - * @param area - * @param dataset */ public void drawLabels( final Graphics2D graphics, @@ -241,7 +221,7 @@ * @param area The boundary. * @param series The series storing the items. * @param close Specifies if the polygon should be closed or not. - * @return + * @return the constructed shape. */ protected Shape constructShape( PolygonPlot plot, @@ -282,9 +262,6 @@ /** * Retrieves the bounding box of a dataset. - * - * @param dataset - * @return */ public Rectangle2D getBoundingBox(PolygonDataset dataset) { Rectangle2D bbox = null; @@ -311,7 +288,6 @@ /** * - * @param series * @return the bounds of a series. */ public Rectangle2D getBounds(PolygonSeries series) {