Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultInputData.java @ 364:2413273f1c13
Workarround: Store lower and upper bounds of data while iterating over all data and set the max range of axes with these information. JFreeCharts method NumberAxis.setAutoRange(true) doesn't seem to work properly.
gnv-artifacts/trunk@439 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 Dec 2009 11:58:44 +0000 |
parents | e964a3d8f7bc |
children | 9681ac6b6527 |
line wrap: on
line source
/** * */ package de.intevation.gnv.state; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class DefaultInputData implements InputData { /** * */ private static final long serialVersionUID = 4308041648698108066L; private String name = null; private String value = null; /** * Constructor */ public DefaultInputData(String name, String value) { this.name = name; this.value = value; } /** * @see de.intevation.gnv.state.InputData#getName() */ public String getName() { return this.name; } /** * @see de.intevation.gnv.state.InputData#getValue() */ public String getValue() { return this.value; } /** * @see java.lang.Object#toString() */ @Override public String toString() { return this.name + "==> " + this.value; } /** * @see de.intevation.gnv.state.InputData#concartValue(java.lang.String) */ public void concartValue(String value) { this.value = this.value + " , " + value; } }