summaryrefslogtreecommitdiffstats
path: root/libjava/java/awt/ComponentOrientation.java
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-09 13:01:44 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-09 13:01:44 +0000
commit9c34e2146baca3cd0f5062322d5726c522dffa92 (patch)
tree6680b09725d91ed3d9ada722960071772ab26354 /libjava/java/awt/ComponentOrientation.java
parent35b7a3f52933a45dd1dbd10d3ac3312c20d4a7f9 (diff)
downloadppe42-gcc-9c34e2146baca3cd0f5062322d5726c522dffa92.tar.gz
ppe42-gcc-9c34e2146baca3cd0f5062322d5726c522dffa92.zip
2000-08-09 Bryce McKinlay <bryce@albatross.co.nz>
* Makefile.am: Move beans and applet classes to awt_java_source_files. * Makefile.in: Rebuilt. * java/awt/Color.java (getTransparency): New method. * java/awt/Component.java: Various updates. * java/awt/Container.java (removeNotify): Call super.removeNotify() after dealing with children. * java/awt/Toolkit.java (changeSupport): Renamed from pcsupport. * java/awt/Window.java: Various new methods and updates. * java/awt/color/ICC_Profile.java (getNumComponents): Cast profileID to int for switch. * java/awt/event/KeyEvent.java (paramString): Initialize `r'. * java/awt/event/WindowEvent.java (paramString): Ditto. * java/awt/geom/Dimension2D.java (clone): Wrap super call with try/catch block. * java/awt/geom/Point2D.java (clone): Ditto. * java/awt/geom/RectangularShape.java (clone): Ditto. * java/awt/image/ColorModel.java (bits, cspace, transparency, hasAlpha, isAlphaPremultiplied): Make package-private, not private. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35589 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/awt/ComponentOrientation.java')
-rw-r--r--libjava/java/awt/ComponentOrientation.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/java/awt/ComponentOrientation.java b/libjava/java/awt/ComponentOrientation.java
index 739db00fbe6..8cc0664ba54 100644
--- a/libjava/java/awt/ComponentOrientation.java
+++ b/libjava/java/awt/ComponentOrientation.java
@@ -15,6 +15,10 @@ import java.util.ResourceBundle;
public class ComponentOrientation implements java.io.Serializable
{
+ // Here is a wild guess.
+ private static int HORIZONTAL_ID = 1 << 0,
+ LEFT_TO_RIGHT_ID = 1 << 1;
+
public static final ComponentOrientation LEFT_TO_RIGHT
= new ComponentOrientation(HORIZONTAL_ID & LEFT_TO_RIGHT_ID);
public static final ComponentOrientation RIGHT_TO_LEFT
@@ -26,10 +30,6 @@ public class ComponentOrientation implements java.io.Serializable
// correct values?
int orientation;
- // Here is a wild guess.
- private static int HORIZONTAL_ID = 1 << 0,
- LEFT_TO_RIGHT_ID = 1 << 1;
-
ComponentOrientation(int orientation)
{
this.orientation = orientation;
OpenPOWER on IntegriCloud