Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java @ 79:e33c61735a4e
Implementation of the Static UI done
gnv-artifacts/trunk@101 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 17 Sep 2009 13:38:12 +0000 |
parents | 0e38f512f7e4 |
children | 5eb62df21f9a |
comparison
equal
deleted
inserted
replaced
78:969faa37a11b | 79:e33c61735a4e |
---|---|
14 private static final long serialVersionUID = -924469415242703108L; | 14 private static final long serialVersionUID = -924469415242703108L; |
15 | 15 |
16 private int key; | 16 private int key; |
17 | 17 |
18 private String value = null; | 18 private String value = null; |
19 | |
20 private boolean selected = false; | |
19 | 21 |
20 public DefaultKeyValueDescribeData(int key, String value) { | 22 public DefaultKeyValueDescribeData(int key, String value) { |
21 super(); | 23 super(); |
22 this.key = key; | 24 this.key = key; |
23 this.value = value; | 25 this.value = value; |
35 */ | 37 */ |
36 public String getValue() { | 38 public String getValue() { |
37 return this.value; | 39 return this.value; |
38 } | 40 } |
39 | 41 |
42 /** | |
43 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#isSelected() | |
44 */ | |
45 public boolean isSelected() { | |
46 return this.selected; | |
47 } | |
48 | |
49 /** | |
50 * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#setSelected(boolean) | |
51 */ | |
52 public void setSelected(boolean selected) { | |
53 this.selected = selected; | |
54 } | |
55 | |
40 } | 56 } |