Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonPlot.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 | 05bf8534a35a |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonPlot.java Fri Apr 09 14:34:45 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonPlot.java Mon Apr 12 06:59:33 2010 +0000 @@ -41,14 +41,8 @@ public class PolygonPlot extends Plot { - /** - * - */ public static final String PLOT_TYPE = "PolygonPlot"; - /** - * - */ public static final PlotOrientation DEFAULT_PLOT_ORIENTATION = PlotOrientation.VERTICAL; @@ -77,7 +71,6 @@ /** - * * @param dataset Dataset containing polygons. * @param renderer The renderer used to draw polygons. * @param orientation The orientation used for this plot. @@ -92,7 +85,6 @@ /** - * * @param dataset Dataset containing polygons. * @param renderer The renderer used to draw polygons. * @param domainAxis The x axis. @@ -138,9 +130,6 @@ } - /** - * - */ public void configureDomainAxis() { // we just have 1 dataset Range domainAxisRange = getDataset().getDomainBounds(); @@ -155,47 +144,26 @@ } } - /** - * - * @return - */ public ValueAxis getDomainAxis() { return getDomainAxis(0); } - /** - * - * @param index - * @return - */ public ValueAxis getDomainAxis(int index) { return index < domainAxes.size() ? (ValueAxis)domainAxes.get(index) : null; } - /** - * - * @return - */ public ValueAxis getRangeAxis() { return getRangeAxis(0); } - /** - * - * @param index - * @return - */ public ValueAxis getRangeAxis(int index) { return index < rangeAxes.size() ? (ValueAxis)rangeAxes.get(index) : null; } - /** - * - */ public void configureRangeAxis() { // we just have 1 dataset Range rangeAxisRange = getDataset().getRangeBounds(); @@ -210,29 +178,14 @@ } } - - /** - * - * @return - */ public PolygonDataset getDataset(){ return this.dataset; } - - /** - * - * @return - */ public String getPlotType() { return PLOT_TYPE; } - - /** - * - * @param dataset - */ public void setDataset(PolygonDataset dataset) { this.dataset = dataset; } @@ -405,12 +358,6 @@ } - /** - * - * @param g2 - * @param plotArea - * @return - */ private AxisSpace calculateAxisSpace(Graphics2D g2, Rectangle2D plotArea) { AxisSpace space = new AxisSpace(); space = calculateRangeAxisSpace(g2, plotArea, space); @@ -421,13 +368,6 @@ } - /** - * - * @param g2 - * @param plotArea - * @param space - * @return - */ private AxisSpace calculateDomainAxisSpace( Graphics2D g2, Rectangle2D plotArea, @@ -449,13 +389,6 @@ } - /** - * - * @param g2 - * @param plotArea - * @param space - * @return - */ private AxisSpace calculateRangeAxisSpace( Graphics2D g2, Rectangle2D plotArea, @@ -477,10 +410,6 @@ } - /** - * - * @return - */ public RectangleEdge getDomainAxisEdge() { return Plot.resolveDomainAxisLocation( getDomainAxisLocation(), orientation @@ -488,11 +417,6 @@ } - /** - * - * @param idx - * @return - */ public RectangleEdge getDomainAxisEdge(int idx) { AxisLocation location = getDomainAxisLocation(idx); RectangleEdge result = Plot.resolveDomainAxisLocation( @@ -506,10 +430,6 @@ } - /** - * - * @return - */ public RectangleEdge getRangeAxisEdge() { return Plot.resolveRangeAxisLocation( getRangeAxisLocation(), orientation @@ -517,11 +437,6 @@ } - /** - * - * @param idx - * @return - */ public RectangleEdge getRangeAxisEdge(int idx) { AxisLocation location = getRangeAxisLocation(idx); RectangleEdge result = Plot.resolveRangeAxisLocation( @@ -536,20 +451,11 @@ } - /** - * - * @return - */ public AxisLocation getDomainAxisLocation() { return (AxisLocation) domainAxisLocation.get(0); } - /** - * - * @param idx - * @return - */ public AxisLocation getDomainAxisLocation(int idx) { if (idx < domainAxisLocation.size()) return (AxisLocation) domainAxisLocation.get(idx); @@ -558,20 +464,11 @@ } - /** - * - * @return - */ public AxisLocation getRangeAxisLocation() { return (AxisLocation) rangeAxisLocation.get(0); } - /** - * - * @param idx - * @return - */ public AxisLocation getRangeAxisLocation(int idx) { if (idx < rangeAxisLocation.size()) return (AxisLocation) rangeAxisLocation.get(idx); @@ -581,8 +478,6 @@ /** - * - * @param dataset * @return true, if dataset is null or if it does not contain any * PolygonSeries, otherwise false. */