comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java @ 3349:36cd7d88551a

Added bandwidth field, i18n. flys-client/trunk@5026 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 17 Jul 2012 18:44:42 +0000
parents b9433322fcaf
children 2f533220af1c
comparison
equal deleted inserted replaced
3348:8c7cf6b84ba0 3349:36cd7d88551a
288 "linelabelfont", 288 "linelabelfont",
289 "linelabelcolor", 289 "linelabelcolor",
290 "linelabelsize", 290 "linelabelsize",
291 "linelabelstyle", 291 "linelabelstyle",
292 "linelabelshowbg", 292 "linelabelshowbg",
293 "linelabelbgcolor"}; 293 "linelabelbgcolor",
294 "bandwidth"};
294 295
295 for (String settingName: sets) { 296 for (String settingName: sets) {
296 StyleSetting set = style.getSetting(settingName); 297 StyleSetting set = style.getSetting(settingName);
297 298
298 if (set == null || set.isHidden()) { 299 if (set == null || set.isHidden()) {
358 valueMap.put("10", "10"); 359 valueMap.put("10", "10");
359 valueMap.put("12", "12"); 360 valueMap.put("12", "12");
360 valueMap.put("14", "14"); 361 valueMap.put("14", "14");
361 valueMap.put("18", "18"); 362 valueMap.put("18", "18");
362 valueMap.put("24", "24"); 363 valueMap.put("24", "24");
364 f.setValueMap(valueMap);
365 }
366 else if (name.equals("bandwidth")) {
367 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
368 valueMap.put("0", "0");
369 valueMap.put("1", "1");
370 valueMap.put("2", "2");
371 valueMap.put("3", "3");
372 valueMap.put("4", "4");
373 valueMap.put("5", "5");
374 valueMap.put("6", "6");
375 valueMap.put("7", "7");
376 valueMap.put("8", "8");
377 valueMap.put("9", "9");
378 valueMap.put("10", "10");
379 valueMap.put("11", "11");
363 f.setValueMap(valueMap); 380 f.setValueMap(valueMap);
364 } 381 }
365 else if (name.equals("pointsize")) { 382 else if (name.equals("pointsize")) {
366 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>(); 383 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
367 valueMap.put("1", "1"); 384 valueMap.put("1", "1");

http://dive4elements.wald.intevation.org