comparison gnv/src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java @ 690:254f062e334b

Added JavaDoc. gnv/trunk@908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 12 Apr 2010 16:45:16 +0000
parents 57fa8019fbdc
children 21ad44ccdb84
comparison
equal deleted inserted replaced
689:8487581dfe3b 690:254f062e334b
27 import org.apache.struts.action.ActionForm; 27 import org.apache.struts.action.ActionForm;
28 import org.apache.struts.action.ActionForward; 28 import org.apache.struts.action.ActionForward;
29 import org.apache.struts.action.ActionMapping; 29 import org.apache.struts.action.ActionMapping;
30 30
31 /** 31 /**
32 * This controller is called to change options used in charts and histograms
33 * (e.g. width, height, etc).
34 *
32 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> 35 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
33 *
34 */ 36 */
35 public class ChangeOptionsAction extends DescribeUIAction { 37 public class ChangeOptionsAction extends DescribeUIAction {
36 /** 38 /**
37 * the logger, used to log exceptions and additonaly information 39 * the logger, used to log exceptions and additonaly information
38 */ 40 */
179 catch (ParseException pe) { 181 catch (ParseException pe) {
180 return false; 182 return false;
181 } 183 }
182 } 184 }
183 185
184
185 protected boolean validDouble(Locale locale, String value) { 186 protected boolean validDouble(Locale locale, String value) {
186 try { 187 try {
187 NumberFormat format = NumberFormat.getInstance(locale); 188 NumberFormat format = NumberFormat.getInstance(locale);
188 Number number = format.parse(value); 189 Number number = format.parse(value);
189 190

http://dive4elements.wald.intevation.org