comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 3270:4ac581062c40

Fix various documentation issues. flys-artifacts/trunk@4913 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 10 Jul 2012 12:19:35 +0000
parents 2aca387333d6
children 45af081061e7
comparison
equal deleted inserted replaced
3269:b2ea89a665bc 3270:4ac581062c40
399 399
400 400
401 /** 401 /**
402 * Effect: extend range of x axis to include given limits. 402 * Effect: extend range of x axis to include given limits.
403 * 403 *
404 * @param range the given ("minimal") range. 404 * @param bounds the given ("minimal") bounds.
405 * @param index index of axis to be merged. 405 * @param index index of axis to be merged.
406 */ 406 */
407 @Override 407 @Override
408 protected void combineXBounds(Bounds bounds, int index) { 408 protected void combineXBounds(Bounds bounds, int index) {
409 if (!(bounds instanceof DoubleBounds)) { 409 if (!(bounds instanceof DoubleBounds)) {
610 /** 610 /**
611 * Zooms the x axis to the range specified in the attribute document. 611 * Zooms the x axis to the range specified in the attribute document.
612 * 612 *
613 * @param plot The XYPlot. 613 * @param plot The XYPlot.
614 * @param axis The axis the shoud be modified. 614 * @param axis The axis the shoud be modified.
615 * @param range The whole range specified by a dataset. 615 * @param bounds The whole range specified by a dataset.
616 * @param x A user defined range (null permitted). 616 * @param x A user defined range (null permitted).
617 * 617 *
618 * @return true, if a zoom range was specified, otherwise false. 618 * @return true, if a zoom range was specified, otherwise false.
619 */ 619 */
620 protected boolean zoom(XYPlot plot, ValueAxis axis, Bounds bounds, Range x) { 620 protected boolean zoom(XYPlot plot, ValueAxis axis, Bounds bounds, Range x) {
788 788
789 /** 789 /**
790 * Overrides the NumberFormat with the NumberFormat for the current locale 790 * Overrides the NumberFormat with the NumberFormat for the current locale
791 * that is provided by getLocale(). 791 * that is provided by getLocale().
792 * 792 *
793 * @param domainAxis The domain axis that needs localization. 793 * @param rangeAxis The domain axis that needs localization.
794 */ 794 */
795 protected void localizeRangeAxis(ValueAxis rangeAxis) { 795 protected void localizeRangeAxis(ValueAxis rangeAxis) {
796 NumberFormat nf = NumberFormat.getInstance(getLocale()); 796 NumberFormat nf = NumberFormat.getInstance(getLocale());
797 ((NumberAxis) rangeAxis).setNumberFormatOverride(nf); 797 ((NumberAxis) rangeAxis).setNumberFormatOverride(nf);
798 } 798 }

http://dive4elements.wald.intevation.org