diff options
author | David Gilbert <david.gilbert@object-refinery.com> | 2005-08-22 11:07:02 +0000 |
---|---|---|
committer | David Gilbert <david.gilbert@object-refinery.com> | 2005-08-22 11:07:02 +0000 |
commit | bf8d0f6ad88c006766ecc8296ece2879e0c8a0ac (patch) | |
tree | f7967dfb5399d9f59f0a5fee3bcf936fb84accb8 /javax/swing/SwingUtilities.java | |
parent | ae7e0e230c2d3d7990e8729d4665c04356cac5db (diff) | |
download | classpath-bf8d0f6ad88c006766ecc8296ece2879e0c8a0ac.tar.gz |
2005-08-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SwingUtilities.java: fixed some minor API doc
problems.
Diffstat (limited to 'javax/swing/SwingUtilities.java')
-rw-r--r-- | javax/swing/SwingUtilities.java | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/javax/swing/SwingUtilities.java b/javax/swing/SwingUtilities.java index 3425fc97d..ee5fa74d4 100644 --- a/javax/swing/SwingUtilities.java +++ b/javax/swing/SwingUtilities.java @@ -449,7 +449,7 @@ public class SwingUtilities * @return A component containing <code>(x,y)</code>, or * <code>null</code> * - * @see java.awt.Container#findComponentAt + * @see java.awt.Container#findComponentAt(int, int) */ public static Component getDeepestComponentAt(Component parent, int x, int y) { @@ -473,7 +473,7 @@ public class SwingUtilities * @param p The point to convert * @param c The component which the point is expressed in terms of * - * @see convertPointFromScreen + * @see #convertPointFromScreen */ public static void convertPointToScreen(Point p, Component c) { @@ -568,7 +568,7 @@ public class SwingUtilities * * @see #convertPointToScreen * @see #convertPointFromScreen - * @see #convertPoint + * @see #convertPoint(Component, int, int, Component) * @see #getRoot */ public static Rectangle convertRectangle(Component source, @@ -596,7 +596,7 @@ public class SwingUtilities * component's coordinate space, and with the destination component as * its source * - * @see #convertPoint + * @see #convertPoint(Component, int, int, Component) */ public static MouseEvent convertMouseEvent(Component source, MouseEvent sourceEvent, @@ -938,7 +938,7 @@ public class SwingUtilities } /** - * Calls {@link java.awt.EventQueue.invokeLater} with the + * Calls {@link java.awt.EventQueue#invokeLater} with the * specified {@link Runnable}. */ public static void invokeLater(Runnable doRun) @@ -947,7 +947,7 @@ public class SwingUtilities } /** - * Calls {@link java.awt.EventQueue.invokeAndWait} with the + * Calls {@link java.awt.EventQueue#invokeAndWait} with the * specified {@link Runnable}. */ public static void invokeAndWait(Runnable doRun) @@ -958,7 +958,10 @@ public class SwingUtilities } /** - * Calls {@link java.awt.EventQueue.isEventDispatchThread}. + * Calls {@link java.awt.EventQueue#isDispatchThread()}. + * + * @return <code>true</code> if the current thread is the current AWT event + * dispatch thread. */ public static boolean isEventDispatchThread() { @@ -1262,11 +1265,11 @@ public class SwingUtilities * Calculates the intersection of two rectangles. * * @param x upper-left x coodinate of first rectangle - * @param x upper-left y coodinate of first rectangle + * @param y upper-left y coodinate of first rectangle * @param w width of first rectangle * @param h height of first rectangle * @param rect a Rectangle object of the second rectangle - * @throws a NullPointerException if rect is null. + * @throws NullPointerException if rect is null. * * @return a rectangle corresponding to the intersection of the * two rectangles. A zero rectangle is returned if the rectangles @@ -1308,11 +1311,11 @@ public class SwingUtilities * Calculates the union of two rectangles. * * @param x upper-left x coodinate of first rectangle - * @param x upper-left y coodinate of first rectangle + * @param y upper-left y coodinate of first rectangle * @param w width of first rectangle * @param h height of first rectangle * @param rect a Rectangle object of the second rectangle - * @throws a NullPointerException if rect is null. + * @throws NullPointerException if rect is null. * * @return a rectangle corresponding to the union of the * two rectangles. A rectangle encompassing both is returned if the @@ -1361,9 +1364,9 @@ public class SwingUtilities * maps should be returned, may be * {@link JComponent#WHEN_IN_FOCUSED_WINDOW}, * {@link JComponent#WHEN_FOCUSED} or - * {@link JComponent#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT + * {@link JComponent#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT} * - * @return + * @return The input map. */ public static InputMap getUIInputMap(JComponent component, int cond) { |