This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Patch: GridBagConstraints constants
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: GridBagConstraints constants
- From: Tom Tromey <tromey at redhat dot com>
- Date: 06 Dec 2000 17:57:18 -0700
- Reply-To: tromey at redhat dot com
I'm checking this in.
2000-12-06 Tom Tromey <tromey@redhat.com>
* java/awt/GridBagConstraints.java: Filled in values for static
final fields.
Tom
Index: java/awt/GridBagConstraints.java
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/awt/GridBagConstraints.java,v
retrieving revision 1.1
diff -u -r1.1 GridBagConstraints.java
--- GridBagConstraints.java 2000/12/06 21:22:23 1.1
+++ GridBagConstraints.java 2000/12/07 00:45:20
@@ -17,37 +17,37 @@
public class GridBagConstraints implements Cloneable, Serializable
{
/** Fill in both directions. */
- public static final int BOTH;
+ public static final int BOTH = 1;
/** Don't fill. */
- public static final int NONE;
+ public static final int NONE = 0;
/** Fill horizontally. */
- public static final int HORIZONTAL;
+ public static final int HORIZONTAL = 2;
/** Fill vertically. */
- public static final int VERTICAL;
+ public static final int VERTICAL = 3;
/** Position in the center. */
- public static final int CENTER;
+ public static final int CENTER = 10;
/** Position to the east. */
- public static final int EAST;
+ public static final int EAST = 13;
/** Position to the north. */
- public static final int NORTH;
+ public static final int NORTH = 11;
/** Position to the northeast. */
- public static final int NORTHEAST;
+ public static final int NORTHEAST = 12;
/** Position to the northwest. */
- public static final int NORTHWEST;
+ public static final int NORTHWEST = 18;
/** Position to the south. */
- public static final int SOUTH;
+ public static final int SOUTH = 15;
/** Position to the southeast. */
- public static final int SOUTHEAST;
+ public static final int SOUTHEAST = 14;
/** Position to the southwest. */
- public static final int SOUTHWEST;
+ public static final int SOUTHWEST = 16;
/** Position to the west. */
- public static final int WEST;
+ public static final int WEST = 17;
/** Occupy all remaining cells except last cell. */
- public static final int RELATIVE;
+ public static final int RELATIVE = -1;
/** Occupy all remaining cells. */
- public static final int REMAINDER;
+ public static final int REMAINDER = 0;
public int anchor;
public int fill;