1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 package hoplugins.commons.ui.info.clearthought.layout;
36
37
38 /***
39 * TableLayoutConstants define the constants used by all the TableLayout classes.
40 *
41 * @author Daniel E. Barbalace
42 * @version 3.0 2/15/04
43 */
44 public interface TableLayoutConstants {
45 /*** Indicates that the component is left justified in its cell */
46 public static final int LEFT = 0;
47
48 /*** Indicates that the component is top justified in its cell */
49 public static final int TOP = 0;
50
51 /*** Indicates that the component is centered in its cell */
52 public static final int CENTER = 1;
53
54 /*** Indicates that the component is full justified in its cell */
55 public static final int FULL = 2;
56
57 /*** Indicates that the component is bottom justified in its cell */
58 public static final int BOTTOM = 3;
59
60 /*** Indicates that the component is right justified in its cell */
61 public static final int RIGHT = 3;
62
63 /***
64 * Indicates that the component is leading justified in its cell. Leading justification means
65 * components are left justified if their container is left-oriented and right justified if
66 * their container is right-oriented. Trailing justification is opposite. see
67 * java.awt.Component#getComponentOrientation
68 */
69 public static final int LEADING = 4;
70
71 /***
72 * Indicates that the component is trailing justified in its cell. Trailing justification means
73 * components are right justified if their container is left-oriented and left justified if
74 * their container is right-oriented. Leading justification is opposite. see
75 * java.awt.Component#getComponentOrientation
76 */
77 public static final int TRAILING = 5;
78
79 /*** Indicates that the row/column should fill the available space */
80 public static final double FILL = -1.0;
81
82 /***
83 * Indicates that the row/column should be allocated just enough space to accomidate the
84 * preferred size of all components contained completely within this row/column.
85 */
86 public static final double PREFERRED = -2.0;
87
88 /***
89 * Indicates that the row/column should be allocated just enough space to accomidate the
90 * minimum size of all components contained completely within this row/column.
91 */
92 public static final double MINIMUM = -3.0;
93 }