Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java @ 3350:e746e57c65c0
Removed trailing whitespace.
flys-client/trunk@5029 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 18 Jul 2012 08:22:17 +0000 |
parents | d2a54ae0016b |
children | 08b2472111aa |
comparison
equal
deleted
inserted
replaced
3349:36cd7d88551a | 3350:e746e57c65c0 |
---|---|
84 root.addMember(columns[i]); | 84 root.addMember(columns[i]); |
85 | 85 |
86 for (int j = 0; j < height; j++) { | 86 for (int j = 0; j < height; j++) { |
87 charts[i][j] = new Canvas(); | 87 charts[i][j] = new Canvas(); |
88 | 88 |
89 // This is for 3, 6 or 9 charts only! | 89 // This is for 3, 6 or 9 charts only! |
90 // TODO: Calculate the height. | 90 // TODO: Calculate the height. |
91 charts[i][j].setHeight("50%"); | 91 charts[i][j].setHeight("50%"); |
92 | 92 |
93 String type = | 93 String type = |
94 ((OutputMode)relModes.values() | 94 ((OutputMode)relModes.values() |
104 } | 104 } |
105 | 105 |
106 | 106 |
107 /** | 107 /** |
108 * Resize handler. | 108 * Resize handler. |
109 * | 109 * |
110 * @param event The resize event. | 110 * @param event The resize event. |
111 */ | 111 */ |
112 @Override | 112 @Override |
113 public void onResized(ResizedEvent event) { | 113 public void onResized(ResizedEvent event) { |
114 for (int i = 0; i < charts.length; i++) { | 114 for (int i = 0; i < charts.length; i++) { |
115 // This is for 3, 6 or 9 charts only! | 115 // This is for 3, 6 or 9 charts only! |
116 // TODO: Calculate the width. | 116 // TODO: Calculate the width. |
117 columns[i].setWidth(root.getWidth()/3); | 117 columns[i].setWidth(root.getWidth()/3); |
118 | 118 |
119 for (int j = 0; j < charts[i].length; j++) { | 119 for (int j = 0; j < charts[i].length; j++) { |
120 String type = | 120 String type = |