Just some minor doc fixes in these two classes.

2005-10-14  Anthony Balkissoon  <[EMAIL PROTECTED]>

        * javax/swing/text/CompositeView.java: Minor doc fixes.
        * javax/swing/text/BoxView.java: Minor doc fixes.

--Tony
Index: javax/swing/text/BoxView.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/BoxView.java,v
retrieving revision 1.6
diff -u -r1.6 BoxView.java
--- javax/swing/text/BoxView.java	6 Oct 2005 20:16:32 -0000	1.6
+++ javax/swing/text/BoxView.java	14 Oct 2005 18:12:28 -0000
@@ -155,8 +155,9 @@
    * automatically when any of the child view changes its preferences
    * via [EMAIL PROTECTED] #preferenceChanged(View, boolean, boolean)}.
    *
-   * The layout will be updated the next time when [EMAIL PROTECTED] #setSize()} is
-   * called, typically from within the [EMAIL PROTECTED] #paint()} method.
+   * The layout will be updated the next time when 
+   * [EMAIL PROTECTED] #setSize(float, float)} is called, typically from within the 
+   * [EMAIL PROTECTED] #paint(Graphics, Shape)} method.
    *
    * Valid values for the axis are [EMAIL PROTECTED] View#X_AXIS} and
    * [EMAIL PROTECTED] View#Y_AXIS}.
@@ -216,7 +217,7 @@
    * @param alloc the allocated region for the child to paint into
    * @param index the index of the child to be painted
    *
-   * @see [EMAIL PROTECTED] #childAllocation}
+   * @see #childAllocation(int, Rectangle)
    */
   protected void paintChild(Graphics g, Rectangle alloc, int index)
   {
@@ -534,7 +535,7 @@
    *        to layout the children
    * @param axis the axis along which the layout is performed
    * @param offsets the array that holds the offsets of the children on exit
-   * @param offsets the array that holds the spans of the children on exit
+   * @param spans the array that holds the spans of the children on exit
    */
   protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets,
                                  int[] spans)
@@ -554,7 +555,7 @@
    *        to layout the children
    * @param axis the axis along which the layout is performed
    * @param offsets the array that holds the offsets of the children on exit
-   * @param offsets the array that holds the spans of the children on exit
+   * @param spans the array that holds the spans of the children on exit
    */
   protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets,
                                  int[] spans)
@@ -664,7 +665,7 @@
    *
    * @param axis the axis to examine, either <code>X_AXIS</code> or
    *        <code>Y_AXIS</code>
-   * @param index the index of the child for for which to return the span
+   * @param childIndex the index of the child for for which to return the span
    *
    * @return the span for the child view with the given index for the specified
    *         axis
@@ -683,7 +684,7 @@
    *
    * @param axis the axis to examine, either <code>X_AXIS</code> or
    *        <code>Y_AXIS</code>
-   * @param index the index of the child for for which to return the span
+   * @param childIndex the index of the child for for which to return the span
    *
    * @return the offset for the child view with the given index for the
    *         specified axis
Index: javax/swing/text/CompositeView.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/CompositeView.java,v
retrieving revision 1.7
diff -u -r1.7 CompositeView.java
--- javax/swing/text/CompositeView.java	6 Oct 2005 20:16:32 -0000	1.7
+++ javax/swing/text/CompositeView.java	14 Oct 2005 18:12:28 -0000
@@ -62,7 +62,7 @@
   /**
    * The allocation of this <code>View</code> minus its insets. This is
    * initialized in [EMAIL PROTECTED] #getInsideAllocation} and reused and modified in
-   * [EMAIL PROTECTED] childAllocation}.
+   * [EMAIL PROTECTED] #childAllocation(int, Rectangle)}.
    */
   Rectangle insideAllocation;
 
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to