aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/GridBagConstraints.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-02-13 07:02:12 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-02-13 07:02:12 +0000
commit4e3243ef0e18e11a7b463d78613a25adb49ace94 (patch)
treeb711d0bfe0257d0a89bbc44dd4461298544c21a2 /libjava/java/awt/GridBagConstraints.java
parent22ffcc6f9f1bffb267892948349c3cbf4bda2991 (diff)
downloadgcc-4e3243ef0e18e11a7b463d78613a25adb49ace94.zip
gcc-4e3243ef0e18e11a7b463d78613a25adb49ace94.tar.gz
gcc-4e3243ef0e18e11a7b463d78613a25adb49ace94.tar.bz2
GridBagConstraints.java (FIRST_LINE_ENT, [...]): New constants.
2003-02-13 Michael Koch <konqueror@gmx.de> * java/awt/GridBagConstraints.java (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, PAGE_END, PAGE_START): New constants. * java/awt/KeyboardFocusManager.java (setGlobalCurrentFocusCycleRoot): Must be public. * java/awt/MenuComponent.java (MenuComponent): Must be public. * java/awt/Toolkit.java: Added some empty lines to make documentation more readable. (getFontPeer): Added @deprecated. (getColorModel): Added exception documentation. (getProperty): Fixed documentation. From-SVN: r62822
Diffstat (limited to 'libjava/java/awt/GridBagConstraints.java')
-rw-r--r--libjava/java/awt/GridBagConstraints.java46
1 files changed, 46 insertions, 0 deletions
diff --git a/libjava/java/awt/GridBagConstraints.java b/libjava/java/awt/GridBagConstraints.java
index 57356ad..651cfdc 100644
--- a/libjava/java/awt/GridBagConstraints.java
+++ b/libjava/java/awt/GridBagConstraints.java
@@ -80,6 +80,52 @@ public class GridBagConstraints implements Cloneable, Serializable
/** Occupy all remaining cells. */
public static final int REMAINDER = 0;
+ /**
+ * Position to where the first text line would end. Equals to NORTHEAST for
+ * horizontal left-to-right orientations.
+ */
+ public static final int FIRST_LINE_END = 24;
+
+ /**
+ * Position to where the first text line would start. Equals to NORTHWEST for
+ * horizontal left-to-right orientations.
+ */
+ public static final int FIRST_LINE_START = 23;
+
+ /**
+ * Position to where the last text line would end. Equals to SOUTHEAST for
+ * horizontal left-to-right orientations.
+ */
+ public static final int LAST_LINE_END = 26;
+
+ /**
+ * Position to where the last text line would start. Equals to SOUTHWEST for
+ * horizontal left-to-right orientations.
+ */
+ public static final int LAST_LINE_START = 25;
+
+ /**
+ * Position to where a text line would end. Equals to EAST for
+ * left-to-right orientations.
+ */
+ public static final int LINE_END = 22;
+
+ /**
+ * Position to where a text line would start. Equals to WEST for
+ * left-to-right orientations.
+ */
+ public static final int LINE_START = 21;
+
+ /**
+ * Position to where a page ends. Equals SOUTH for horizontal orientations.
+ */
+ public static final int PAGE_END = 20;
+
+ /**
+ * Position to where a page starts. Equals NORTH for horizontal orientations.
+ */
+ public static final int PAGE_START = 19;
+
public int anchor;
public int fill;
public int gridheight;