01: package org.enhydra.jawe.base.panel.panels;
02:
03: import java.awt.GridLayout;
04: import java.util.List;
05:
06: import org.enhydra.jawe.base.panel.PanelContainer;
07: import org.enhydra.shark.xpdl.XMLElement;
08:
09: /**
10: * @author Sasa Bojanic
11: */
12: public class XMLGroupPanelGL extends XMLGroupPanel {
13:
14: public XMLGroupPanelGL(PanelContainer pc, XMLElement myOwnerL,
15: List elements, String title, boolean isVertical,
16: boolean hasBorder, boolean hasEmptyBorder) {
17:
18: super (pc, myOwnerL, elements, title, isVertical, hasBorder,
19: hasEmptyBorder);
20:
21: }
22:
23: protected void initPanel(boolean isVertical, List elements) {
24: if (isVertical) {
25: setLayout(new GridLayout(3, 1));
26: } else {
27: setLayout(new GridLayout(1, 3));
28: }
29: super .initPanel(isVertical, elements);
30: }
31:
32: protected void initTopLeft(boolean isVertical,
33: boolean rightAllignment) {
34: }
35:
36: protected void initBottomRight(boolean isVertical,
37: boolean rightAllignment) {
38: }
39:
40: }
|