I committed this patch:
2005-07-21 David Gilbert <[EMAIL PROTECTED]>
* javax/swing/plaf/BorderUIResource.java: API doc fixes,
* javax/swing/plaf/FileChooserUI.java: likewise,
* javax/swing/plaf/TextUI.java: likewise,
* javax/swing/plaf/UIResource.java: likewise.
Regards,
Dave Gilbert
Index: javax/swing/plaf/BorderUIResource.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/BorderUIResource.java,v
retrieving revision 1.22
diff -u -r1.22 BorderUIResource.java
--- javax/swing/plaf/BorderUIResource.java 2 Jul 2005 20:32:50 -0000
1.22
+++ javax/swing/plaf/BorderUIResource.java 21 Jul 2005 16:42:18 -0000
@@ -556,7 +556,7 @@
* @param shadow the color that will be used for painting
* the shadow part of the border.
*
- * @see #EtchedBorderUIResource(int, Color, Color)
+ * @see EtchedBorderUIResource#EtchedBorderUIResource(int, Color, Color)
*/
public EtchedBorderUIResource(Color highlight, Color shadow)
{
@@ -684,7 +684,7 @@
* @param left the width of the border at its left edge.
* @param bottom the width of the border at its bottom edge.
* @param right the width of the border at its right edge.
- * @param matteColor the color for filling the border.
+ * @param color the color for filling the border.
*/
public MatteBorderUIResource(int top, int left,
int bottom, int right,
Index: javax/swing/plaf/FileChooserUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/FileChooserUI.java,v
retrieving revision 1.5
diff -u -r1.5 FileChooserUI.java
--- javax/swing/plaf/FileChooserUI.java 2 Jul 2005 20:32:50 -0000 1.5
+++ javax/swing/plaf/FileChooserUI.java 21 Jul 2005 16:42:19 -0000
@@ -98,7 +98,7 @@
* @param chooser the <code>JFileChooser</code> whose
* button text is requested.
*
- * @see javax.swing.JFileChoose#getApproveButtonText
+ * @see javax.swing.JFileChooser#getApproveButtonText
*/
public abstract String getApproveButtonText(JFileChooser chooser);
@@ -111,7 +111,7 @@
* @param chooser the <code>JFileChooser</code> whose
* dialog title is requested.
*
- * @see javax.swing.JFileChoose#getDialogtitle
+ * @see javax.swing.JFileChooser#getDialogTitle
*/
public abstract String getDialogTitle(JFileChooser chooser);
Index: javax/swing/plaf/TextUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/TextUI.java,v
retrieving revision 1.7
diff -u -r1.7 TextUI.java
--- javax/swing/plaf/TextUI.java 2 Jul 2005 20:32:50 -0000 1.7
+++ javax/swing/plaf/TextUI.java 21 Jul 2005 16:42:19 -0000
@@ -40,6 +40,7 @@
import java.awt.Point;
import java.awt.Rectangle;
+import java.awt.Shape;
import javax.swing.text.BadLocationException;
import javax.swing.text.EditorKit;
@@ -83,9 +84,7 @@
* @throws BadLocationException if <code>pos</code> does not
* designate a valid position in the document model.
*
- * @see javax.swing.text.View#modelToView(int,
- * javax.swing.text.Position.Bias, int,
- * javax.swing.text.position.Bias, java.awt.Shape)
+ * @see javax.swing.text.ComponentView#modelToView(int, Shape, Position.Bias)
*/
public abstract Rectangle modelToView(JTextComponent tc, int pos)
throws BadLocationException;
@@ -113,9 +112,7 @@
* @throws BadLocationException if <code>pos</code> does not
* designate a valid position in the document model.
*
- * @see javax.swing.text.View#modelToView(int,
- * javax.swing.text.Position.Bias, int,
- * javax.swing.text.position.Bias, java.awt.Shape)
+ * @see javax.swing.text.ComponentView#modelToView(int, Shape, Position.Bias)
*/
public abstract Rectangle modelToView(JTextComponent tc, int pos,
Position.Bias bias)
@@ -126,10 +123,10 @@
* Finds the caret position which is closest to the specified visual
* location.
*
- * @param tc the <code>JTextComponent</code> for which this
+ * @param t the <code>JTextComponent</code> for which this
* delegate object provides the user interface.
*
- * @param loc the position in view coordinates.
+ * @param pt the position in view coordinates.
*
* @return the caret position which is closest to <code>loc</code>.
*
@@ -191,7 +188,7 @@
*
* @throws IllegalArgumentException if <code>direction</code>
* is not one of <code>Position.Bias.Forward</code>
- * or <code>Position.Biad.Backward</code>.
+ * or <code>Position.Bias.Backward</code>.
*/
public abstract int getNextVisualPositionFrom(JTextComponent tc,
int pos,
Index: javax/swing/plaf/UIResource.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/UIResource.java,v
retrieving revision 1.6
diff -u -r1.6 UIResource.java
--- javax/swing/plaf/UIResource.java 2 Jul 2005 20:32:50 -0000 1.6
+++ javax/swing/plaf/UIResource.java 21 Jul 2005 16:42:19 -0000
@@ -40,7 +40,7 @@
/**
* This public interface is used to designate which objects were created by
- * <code>ComponentUI</code> delegates. When uninstalling the user public
interface
+ * [EMAIL PROTECTED] ComponentUI} delegates. When uninstalling the user
public interface
* renderer with <code>ComponentUI.uninstallUI()</code> the renderer
* property is set to <code>null</code>.
* <br>
@@ -50,6 +50,6 @@
* they are initialized or set to <code>null</code>.
*
* @author Brian Jones
- * @see java.lang.ComponentUI
+ * @see ComponentUI
*/
public interface UIResource { }
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches