KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > ext > swing > GridBagConstants


1 /*
2
3    Copyright 2001 The Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16
17  */
package org.apache.batik.ext.swing;
18
19 import java.awt.GridBagConstraints JavaDoc;
20
21 /**
22  * <tt>GridBagConstraints</tt> constants.
23  *
24  * @author <a HREF="mailto:vhardy@eng.sun.com">Vincent Hardy</a>
25  * @version $Id: GridBagConstants.java,v 1.3 2004/08/18 07:14:18 vhardy Exp $
26  */

27 public interface GridBagConstants {
28     /**
29      * Specify that this component is the
30      * last component in its column or row.
31      * @since JDK1.0
32      */

33     public static final int REMAINDER = GridBagConstraints.REMAINDER;
34
35     /**
36      * Do not resize the component.
37      * @since JDK1.0
38      */

39     public static final int NONE = GridBagConstraints.NONE;
40
41     /**
42      * Resize the component both horizontally and vertically.
43      * @since JDK1.0
44      */

45     public static final int BOTH = GridBagConstraints.BOTH;
46
47     /**
48      * Resize the component horizontally but not vertically.
49      * @since JDK1.0
50      */

51     public static final int HORIZONTAL = GridBagConstraints.HORIZONTAL;
52
53     /**
54      * Resize the component vertically but not horizontally.
55      * @since JDK1.0
56      */

57     public static final int VERTICAL = GridBagConstraints.VERTICAL;
58
59     /**
60      * Put the component in the center of its display area.
61      * @since JDK1.0
62      */

63     public static final int CENTER = GridBagConstraints.CENTER;
64
65     /**
66      * Put the component at the top of its display area,
67      * centered horizontally.
68      * @since JDK1.0
69      */

70     public static final int NORTH = GridBagConstraints.NORTH;
71
72     /**
73      * Put the component at the top-right corner of its display area.
74      * @since JDK1.0
75      */

76     public static final int NORTHEAST = GridBagConstraints.NORTHEAST;
77
78     /**
79      * Put the component on the left side of its display area,
80      * centered vertically.
81      * @since JDK1.0
82      */

83     public static final int EAST = GridBagConstraints.EAST;
84
85     /**
86      * Put the component at the bottom-right corner of its display area.
87      * @since JDK1.0
88      */

89     public static final int SOUTHEAST = GridBagConstraints.SOUTHEAST;
90
91     /**
92      * Put the component at the bottom of its display area, centered
93      * horizontally.
94      * @since JDK1.0
95      */

96     public static final int SOUTH = GridBagConstraints.SOUTH;
97
98     /**
99      * Put the component at the bottom-left corner of its display area.
100      * @since JDK1.0
101      */

102     public static final int SOUTHWEST = GridBagConstraints.SOUTHWEST;
103
104     /**
105      * Put the component on the left side of its display area,
106      * centered vertically.
107      * @since JDK1.0
108      */

109     public static final int WEST = GridBagConstraints.WEST;
110
111     /**
112      * Put the component at the top-left corner of its display area.
113      * @since JDK1.0
114      */

115     public static final int NORTHWEST = GridBagConstraints.NORTHWEST;
116
117 }
118
Popular Tags