Mercurial > dive4elements > river
changeset 2481:37438d7228b4
Cosmetics.
flys-client/trunk@4253 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 17 Apr 2012 14:20:35 +0000 |
parents | d46103338dfd |
children | cef4c624c68c |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java |
diffstat | 2 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Tue Apr 17 13:56:52 2012 +0000 +++ b/flys-client/ChangeLog Tue Apr 17 14:20:35 2012 +0000 @@ -1,9 +1,14 @@ +2012-04-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java: + Cosmetics. + 2012-04-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> Fix flys/issue462. * src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java: - (createUI): Avoid NPE when trying to format a NULL value). + (createUI): Avoid NPE when trying to format a NULL value). 2012-04-17 Raimund Renkert <raimund.renkert@intevation.de>
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java Tue Apr 17 13:56:52 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java Tue Apr 17 14:20:35 2012 +0000 @@ -60,7 +60,8 @@ /** * ThemePanel much like ChartThemePanel, but shows an "Actions" column, * needed for interaction in the CrossSection Charts and a selector to - * declare which cross section profile is "master". + * declare which cross section profile is "master" (waterlevels refer to the + * chosen kilometer of that cross section profile). * Also can show 'area creation' context menus. */ public class CrossSectionChartThemePanel @@ -539,7 +540,7 @@ final SpinnerItem spinnerItem = createSpinnerItem(facetRecord); spinnerItem.addBlurHandler(new BlurHandler() { @Override - public void onBlur (BlurEvent be) { + public void onBlur(BlurEvent be) { spinnerValueEntered(spinnerItem, Double.parseDouble(spinnerItem.getValue().toString()), facetRecord); @@ -548,6 +549,7 @@ // Add KeyPressHandler to lose focus when Enter key is pressed. spinnerItem.addKeyPressHandler(new KeyPressHandler(){ + @Override public void onKeyPress(KeyPressEvent kpe) { if (kpe.getKeyName().equals("Enter")) { spinnerItem.blurItem();