Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/InfoPanel.java @ 4980:e70ff0a600a3
flys-client: Whitespace and doc cosemtics.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 14 Feb 2013 09:29:51 +0100 |
parents | f46a07c11324 |
children |
comparison
equal
deleted
inserted
replaced
4979:4c76c5f69eaf | 4980:e70ff0a600a3 |
---|---|
52 this.listgrid = listgrid; | 52 this.listgrid = listgrid; |
53 this.addMember(listgrid); | 53 this.addMember(listgrid); |
54 } | 54 } |
55 | 55 |
56 /** | 56 /** |
57 * Sets and loads the river data if river is not the current set river | 57 * Sets and loads the river data if river is not the current set river. |
58 */ | 58 */ |
59 public void setRiver(String river) { | 59 public void setRiver(String river) { |
60 if (!river.equals(this.river)) { | 60 if (!river.equals(this.river)) { |
61 this.river = river; | 61 this.river = river; |
62 this.refresh(); | 62 this.refresh(); |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 /** | 66 /** |
67 * Sets the data and closes not corresponding folds in the gauge tree | 67 * Sets the data and closes not corresponding folds in the gauge tree. |
68 */ | 68 */ |
69 public void setData(DataList[] data) { | 69 public void setData(DataList[] data) { |
70 this.listgrid.setData(data); | 70 this.listgrid.setData(data); |
71 } | 71 } |
72 | 72 |
119 protected void removeAllMembers() { | 119 protected void removeAllMembers() { |
120 removeMembers(getMembers()); | 120 removeMembers(getMembers()); |
121 } | 121 } |
122 | 122 |
123 /** | 123 /** |
124 * Expands the gauge section | 124 * Expands the gauge section. |
125 */ | 125 */ |
126 public void expand() { | 126 public void expand() { |
127 section.setExpanded(true); | 127 section.setExpanded(true); |
128 } | 128 } |
129 | 129 |
130 /** | 130 /** |
131 * Contracts/shrinks the expanded gauge section | 131 * Contracts/shrinks the expanded gauge section. |
132 */ | 132 */ |
133 public void contract() { | 133 public void contract() { |
134 section.setExpanded(false); | 134 section.setExpanded(false); |
135 } | 135 } |
136 | 136 |