Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java @ 1585:915ad25f4bb8
Cosmetics.
flys-client/trunk@3871 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 01 Feb 2012 15:39:02 +0000 |
parents | 7e738bc8ed75 |
children | dbdf954dbe94 |
comparison
equal
deleted
inserted
replaced
1584:9d6028f96720 | 1585:915ad25f4bb8 |
---|---|
63 */ | 63 */ |
64 public class SingleLocationPanel | 64 public class SingleLocationPanel |
65 extends AbstractUIProvider | 65 extends AbstractUIProvider |
66 implements FilterHandler | 66 implements FilterHandler |
67 { | 67 { |
68 /** The message class that provides i18n strings.*/ | 68 /** The message class that provides i18n strings. */ |
69 protected FLYSConstants MESSAGES = GWT.create(FLYSConstants.class); | 69 protected FLYSConstants MESSAGES = GWT.create(FLYSConstants.class); |
70 | 70 |
71 /** The DistanceInfoService used to retrieve locations about rivers.*/ | 71 /** The DistanceInfoService used to retrieve locations about rivers. */ |
72 protected DistanceInfoServiceAsync distanceInfoService = | 72 protected DistanceInfoServiceAsync distanceInfoService = |
73 GWT.create(DistanceInfoService.class); | 73 GWT.create(DistanceInfoService.class); |
74 | 74 |
75 /** A container that will contain the location or the distance panel.*/ | 75 /** A container that will contain the location or the distance panel. */ |
76 protected HLayout container; | 76 protected HLayout container; |
77 | 77 |
78 /** The minimal value that the user is allowed to enter.*/ | 78 /** The minimal value that the user is allowed to enter. */ |
79 protected double min; | 79 protected double min; |
80 | 80 |
81 /** The maximal value that the user is allowed to enter.*/ | 81 /** The maximal value that the user is allowed to enter. */ |
82 protected double max; | 82 protected double max; |
83 | 83 |
84 /** The values entered in the location mode.*/ | 84 /** The values entered in the location mode. */ |
85 protected double[] values; | 85 protected double[] values; |
86 | 86 |
87 /** The input panel for locations */ | 87 /** The input panel for locations. */ |
88 protected DoubleArrayPanel locationPanel; | 88 protected DoubleArrayPanel locationPanel; |
89 | 89 |
90 /** The locations table */ | 90 /** The locations table. */ |
91 protected ListGrid locationTable; | 91 protected ListGrid locationTable; |
92 | 92 |
93 /** The table data. */ | 93 /** The table data. */ |
94 protected DistanceInfoObject[] tableData; | 94 protected DistanceInfoObject[] tableData; |
95 | 95 |
96 /** Text to show number of matched items when filtered. */ | |
96 protected StaticTextItem filterResultCount; | 97 protected StaticTextItem filterResultCount; |
97 | 98 |
98 /** | 99 /** |
99 * Creates a new LocationDistancePanel instance. | 100 * Creates a new LocationDistancePanel instance. |
100 */ | 101 */ |
105 | 106 |
106 | 107 |
107 /** | 108 /** |
108 * This method creates a widget that contains a label, a panel with | 109 * This method creates a widget that contains a label, a panel with |
109 * checkboxes to switch the input mode between location and distance input, | 110 * checkboxes to switch the input mode between location and distance input, |
110 * and a the mode specific panel. | 111 * and a mode specific panel. |
111 * | 112 * |
112 * @param data The data that might be inserted. | 113 * @param data The data that might be inserted. |
113 * | 114 * |
114 * @return a panel. | 115 * @return a panel. |
115 */ | 116 */ |