[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: improved AWT javadocs

Kaffe CVS cvs-commits at kaffe.org
Mon Dec 6 11:06:16 PST 2004


PatchSet 5553 
Date: 2004/12/06 19:02:09
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: improved AWT javadocs

2004-12-06  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/java/awt/Component.java,
        libraries/javalib/java/awt/geom/Rectangle2D.java:
        Resynced with GNU Classpath.

        2004-12-06  David Gilbert <david.gilbert at object-refinery.com>

        * java/awt/Component.java,
        java/awt/geom/Rectangle2D.java:
        Javadoc fixes.

Members: 
	ChangeLog:1.3099->1.3100 
	libraries/javalib/java/awt/Component.java:1.44->1.45 
	libraries/javalib/java/awt/geom/Rectangle2D.java:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3099 kaffe/ChangeLog:1.3100
--- kaffe/ChangeLog:1.3099	Mon Dec  6 18:50:24 2004
+++ kaffe/ChangeLog	Mon Dec  6 19:02:09 2004
@@ -1,5 +1,17 @@
 2004-12-06  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/java/awt/Component.java,
+	libraries/javalib/java/awt/geom/Rectangle2D.java:
+        Resynced with GNU Classpath.
+
+	2004-12-06  David Gilbert <david.gilbert at object-refinery.com>
+
+        * java/awt/Component.java,
+        java/awt/geom/Rectangle2D.java:
+        Javadoc fixes.
+
+2004-12-06  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/javalib/java/io/BufferedInputStream.java:
         Resynced with GNU Classpath.
 
Index: kaffe/libraries/javalib/java/awt/Component.java
diff -u kaffe/libraries/javalib/java/awt/Component.java:1.44 kaffe/libraries/javalib/java/awt/Component.java:1.45
--- kaffe/libraries/javalib/java/awt/Component.java:1.44	Fri Dec  3 23:21:58 2004
+++ kaffe/libraries/javalib/java/awt/Component.java	Mon Dec  6 19:02:13 2004
@@ -1080,7 +1080,7 @@
    *
    * @return the locale for this component
    * @throws IllegalComponentStateException if it has no locale or parent
-   * @see setLocale(Locale)
+   * @see #setLocale(Locale)
    * @since 1.1
    */
   public Locale getLocale()
@@ -1955,7 +1955,7 @@
    * @see Graphics#drawImage(Image, int, int, ImageObserver)
    * @see Graphics#drawImage(Image, int, int, int, int, Color, ImageObserver)
    * @see Graphics#drawImage(Image, int, int, int, int, ImageObserver)
-   * @see ImageObserver#update(Image, int, int, int, int, int)
+   * @see ImageObserver#imageUpdate(Image, int, int, int, int, int)
    */
   public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h)
   {
@@ -2097,7 +2097,7 @@
    * @param observer the observer to notify of image loading progress
    * @return the image observer flags indicating the status of the load
    * @see #prepareImage(Image, int, int, ImageObserver)
-   * @see #Toolkit#checkImage(Image, int, int, ImageObserver)
+   * @see Toolkit#checkImage(Image, int, int, ImageObserver)
    * @throws NullPointerException if image is null
    */
   public int checkImage(Image image, ImageObserver observer)
@@ -2115,7 +2115,7 @@
    * @param observer the observer to notify of image loading progress
    * @return the image observer flags indicating the status of the load
    * @see #prepareImage(Image, int, int, ImageObserver)
-   * @see #Toolkit#checkImage(Image, int, int, ImageObserver)
+   * @see Toolkit#checkImage(Image, int, int, ImageObserver)
    */
   public int checkImage(Image image, int width, int height,
                         ImageObserver observer)
@@ -2134,7 +2134,7 @@
    * @param ignoreRepaint the new setting for ignoring repaint events
    * @see #getIgnoreRepaint()
    * @see BufferStrategy
-   * @see GraphicsDevice.setFullScreenWindow(Window)
+   * @see GraphicsDevice#setFullScreenWindow(Window)
    * @since 1.4
    */
   public void setIgnoreRepaint(boolean ignoreRepaint)
@@ -3178,15 +3178,15 @@
    * AWT 1.0 event handler.
    *
    * This method calls one of the event-specific handler methods.  For
-   * example for key events, either {@link #keyDown (Event evt, int
-   * key)} or {@link keyUp (Event evt, int key)} is called.  A derived
+   * example for key events, either {@link #keyDown(Event,int)}
+   * or {@link #keyUp(Event,int)} is called.  A derived
    * component can override one of these event-specific methods if it
    * only needs to handle certain event types.  Otherwise it can
    * override handleEvent itself and handle any event.
    *
    * @param evt the event to handle
    * @return true if the event was handled, false otherwise
-   * @deprecated use {@link #processEvent (AWTEvent)} instead
+   * @deprecated use {@link #processEvent(AWTEvent)} instead
    */
   public boolean handleEvent (Event evt)
   {
@@ -3469,8 +3469,8 @@
    * Specify whether this component can receive focus. This method also
    * sets the {@link #isFocusTraversableOverridden} field to 1, which
    * appears to be the undocumented way {@link
-   * DefaultFocusTraversalPolicy#accept()} determines whether to respect
-   * the {@link #isFocusable()} method of the component.
+   * DefaultFocusTraversalPolicy#accept(Component)} determines whether to
+   * respect the {@link #isFocusable()} method of the component.
    *
    * @param focusable the new focusable status
    * @since 1.4
@@ -3484,10 +3484,10 @@
 
   /**
    * Sets the focus traversal keys for one of the three focus
-   * traversal directions supported by Components: {@link
-   * #KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS}, {@link
-   * #KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS}, or {@link
-   * #KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS}. Normally, the
+   * traversal directions supported by Components:
+   * {@link #KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS},
+   * {@link #KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS}, or
+   * {@link #KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS}. Normally, the
    * default values should match the operating system's native
    * choices. To disable a given traversal, use
    * <code>Collections.EMPTY_SET</code>. The event dispatcher will
@@ -3716,7 +3716,7 @@
    * receives a FOCUS_GAINED event.
    *
    * The behaviour of this method is platform-dependent.
-   * {@link #requestFocusInWindow} should be used instead.
+   * {@link #requestFocusInWindow()} should be used instead.
    *
    * @see #requestFocusInWindow ()
    * @see FocusEvent
@@ -3791,7 +3791,7 @@
    * receives a FOCUS_GAINED event.
    *
    * The behaviour of this method is platform-dependent.
-   * {@link #requestFocusInWindow} should be used instead.
+   * {@link #requestFocusInWindow()} should be used instead.
    *
    * If the return value is false, the request is guaranteed to fail.
    * If the return value is true, the request will succeed unless it
@@ -4069,8 +4069,8 @@
    * However, if this is a Window, the default focus owner in the
    * window in the current focus cycle is focused instead.
    *
-   * @see #requestFocus ()
-   * @see #isFocusCycleRoot ()
+   * @see #requestFocus()
+   * @see #isFocusCycleRoot(Container)
    * @since 1.4
    */
   public void transferFocusUpCycle ()
Index: kaffe/libraries/javalib/java/awt/geom/Rectangle2D.java
diff -u kaffe/libraries/javalib/java/awt/geom/Rectangle2D.java:1.5 kaffe/libraries/javalib/java/awt/geom/Rectangle2D.java:1.6
--- kaffe/libraries/javalib/java/awt/geom/Rectangle2D.java:1.5	Wed Nov 24 21:49:20 2004
+++ kaffe/libraries/javalib/java/awt/geom/Rectangle2D.java	Mon Dec  6 19:02:13 2004
@@ -1,5 +1,5 @@
 /* Rectangle2D.java -- generic rectangles in 2-D space
-   Copyright (C) 2000, 2001, 2002 Free Software Foundation
+   Copyright (C) 2000, 2001, 2002, 2004  Free Software Foundation
 
 This file is part of GNU Classpath.
 
@@ -57,30 +57,30 @@
 public abstract class Rectangle2D extends RectangularShape
 {
   /**
-   * The point lies left of the rectangle (p.x < r.x).
+   * The point lies left of the rectangle (p.x &lt; r.x).
    *
-   * @see #outcode()
+   * @see #outcode(double, double)
    */
   public static final int OUT_LEFT = 1;
 
   /**
-   * The point lies above the rectangle (p.y < r.y).
+   * The point lies above the rectangle (p.y &lt; r.y).
    *
-   * @see #outcode()
+   * @see #outcode(double, double)
    */
   public static final int OUT_TOP = 2;
 
   /**
    * The point lies right of the rectangle (p.x &gt; r.maxX).
    *
-   * @see #outcode()
+   * @see #outcode(double, double)
    */
   public static final int OUT_RIGHT = 4;
 
   /**
    * The point lies below of the rectangle (p.y &gt; r.maxY).
    *
-   * @see #outcode()
+   * @see #outcode(double, double)
    */
   public static final int OUT_BOTTOM = 8;
 




More information about the kaffe mailing list