01: package org.osbl.client.wings.form.layouter;
02:
03: import org.wings.SDimension;
04:
05: import java.awt.*;
06:
07: /**
08: * Arranges Components.
09: */
10: public abstract class Line implements Element {
11: protected static final SDimension LABEL_SIZE = new SDimension(
12: "140px", "20px");
13: protected static final Insets LINE_INSETS = new Insets(0, 0, 4, 0);
14: protected static final Insets EMPTY_LINE_INSETS = new Insets(4, 0,
15: 4, 0);
16:
17: public double weight = 0d;
18:
19: protected Line() {
20: }
21:
22: /**
23: * Construct a structural description of a Line.
24: * @param weight how much of the available vertical space should the line span
25: */
26: protected Line(double weight) {
27: this.weight = weight;
28: }
29: }
|