comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java @ 1430:6bb6d43eeb2d

Cosmetics. flys-client/trunk@3383 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 12 Dec 2011 07:23:24 +0000
parents a95e82d6bcc1
children 1c2cd46d526d
comparison
equal deleted inserted replaced
1429:16b7adc66330 1430:6bb6d43eeb2d
15 15
16 import de.intevation.flys.client.client.services.FeedService; 16 import de.intevation.flys.client.client.services.FeedService;
17 import de.intevation.flys.client.client.services.FeedServiceAsync; 17 import de.intevation.flys.client.client.services.FeedServiceAsync;
18 18
19 /** 19 /**
20 * ThemePanel on the left in CollectionView.
21 * Contains control widgets for "themes", which are plotted in a diagram (chart).
22 *
20 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
21 */ 24 */
22 public class ChartThemePanel extends ThemePanel { 25 public class ChartThemePanel extends ThemePanel {
23 26
24 /** The interface that provides i18n messages. */ 27 /** The interface that provides i18n messages. */
43 46
44 updateGrid(); 47 updateGrid();
45 } 48 }
46 49
47 50
51 protected VLayout createLayout() {
52 VLayout layout = new VLayout();
53 layout.setWidth100();
54 layout.setHeight100();
55
56 layout.addMember(list);
57 layout.addMember(navigation);
58
59 return layout;
60 }
61
48 /** 62 /**
49 * Initializes the layout of this panel. 63 * Initializes the layout of this panel.
50 */ 64 */
51 protected void initLayout() { 65 protected void initLayout() {
52 setWidth100(); 66 setWidth100();
53 setHeight100(); 67 setHeight100();
54 68
55 VLayout layout = new VLayout(); 69 addChild(createLayout());
56 layout.setWidth100();
57 layout.setHeight100();
58
59 layout.addMember(list);
60 layout.addMember(navigation);
61
62 addChild(layout);
63 } 70 }
64 71
65 72
66 /** 73 /**
67 * Initializes the components (columns) of the theme grid. 74 * Initializes the components (columns) of the theme grid.

http://dive4elements.wald.intevation.org