01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings;
14:
15: import org.wings.plaf.PanelCG;
16:
17: /**
18: * Container that display and arranges the contained using the assigned {@link SLayoutManager}.
19: *
20: * @author <a href="mailto:haaf@mercatis.de">Armin Haaf</a>
21: */
22: public class SPanel extends SContainer {
23:
24: /**
25: * Creates a panel with the default layout manager.
26: */
27: public SPanel() {
28: super (new org.wings.SFlowLayout());
29: }
30:
31: /**
32: * Creates a panel with the specified layout manager
33: * @param l the layout manager for the panel
34: */
35: public SPanel(SLayoutManager l) {
36: super (l);
37: }
38:
39: public void setCG(PanelCG cg) {
40: super.setCG(cg);
41: }
42: }
|