aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2000-12-07 00:46:13 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-12-07 00:46:13 +0000
commitb2d98afe06d7d658404dc3b68a2645dd423d5b06 (patch)
tree2c17557139320fe4015cb67b72e5878c46d8e75b
parent2a8415885060a3e5117a65a08bd261825465fc77 (diff)
downloadgcc-b2d98afe06d7d658404dc3b68a2645dd423d5b06.zip
gcc-b2d98afe06d7d658404dc3b68a2645dd423d5b06.tar.gz
gcc-b2d98afe06d7d658404dc3b68a2645dd423d5b06.tar.bz2
GridBagConstraints.java: Filled in values for static final fields.
* java/awt/GridBagConstraints.java: Filled in values for static final fields. From-SVN: r38081
-rw-r--r--libjava/ChangeLog3
-rw-r--r--libjava/java/awt/GridBagConstraints.java30
2 files changed, 18 insertions, 15 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index fe10f18..0a95dd5 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,8 @@
2000-12-06 Tom Tromey <tromey@redhat.com>
+ * java/awt/GridBagConstraints.java: Filled in values for static
+ final fields.
+
* java/util/BitSet.java: Updated copyright notice.
* Makefile.in: Rebuilt.
diff --git a/libjava/java/awt/GridBagConstraints.java b/libjava/java/awt/GridBagConstraints.java
index 34ca0c6..6aa75d4 100644
--- a/libjava/java/awt/GridBagConstraints.java
+++ b/libjava/java/awt/GridBagConstraints.java
@@ -17,37 +17,37 @@ import java.io.Serializable;
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;