classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: API doc fixes in javax.swing.text.* package


From: David Gilbert
Subject: [cp-patches] FYI: API doc fixes in javax.swing.text.* package
Date: Mon, 22 Aug 2005 12:38:48 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

I committed this patch:

2005-08-22  David Gilbert  <address@hidden>

        * javax/swing/text/AbstractDocument.java: fixed minor API doc problems,
        * javax/swing/text/Caret.java: likewise,
        * javax/swing/text/CompositeView.java: likewise,
        * javax/swing/text/DefaultCaret.java: likewise,
        * javax/swing/text/DefaultEditorKit.java: likewise,
        * javax/swing/text/DefaultStyledDocument.java: likewise,
        * javax/swing/text/ElementIterator.java: likewise,
        * javax/swing/text/GlyphView.java: likewise,
        * javax/swing/text/IconView.java: likewise,
        * javax/swing/text/View.java: likewise.

Regards,

Dave Gilbert
Index: javax/swing/text/AbstractDocument.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/AbstractDocument.java,v
retrieving revision 1.22
diff -u -r1.22 AbstractDocument.java
--- javax/swing/text/AbstractDocument.java      2 Aug 2005 15:33:02 -0000       
1.22
+++ javax/swing/text/AbstractDocument.java      22 Aug 2005 11:30:44 -0000
@@ -136,8 +136,8 @@
    * @param doc the <code>Content</code> model to be used in this
    *        <code>Document<code>
    *
-   * @see address@hidden GapContent}
-   * @see address@hidden StringContent}
+   * @see GapContent
+   * @see StringContent
    */
   protected AbstractDocument(Content doc)
   {
@@ -152,8 +152,8 @@
    *        <code>Document<code>
    * @param ctx the <code>AttributeContext</code> to use
    *
-   * @see address@hidden GapContent}
-   * @see address@hidden StringContent}
+   * @see GapContent
+   * @see StringContent
    */
   protected AbstractDocument(Content doc, AttributeContext ctx)
   {
@@ -193,7 +193,7 @@
    *
    * @return the new branch <code>Element</code>
    *
-   * @see address@hidden BranchElement}
+   * @see BranchElement
    */
   protected Element createBranchElement(Element parent,
                                        AttributeSet attributes)
@@ -213,7 +213,7 @@
    *
    * @return the new branch <code>Element</code>
    *
-   * @see address@hidden LeafElement}
+   * @see LeafElement
    */
   protected Element createLeafElement(Element parent, AttributeSet attributes,
                                      int start, int end)
@@ -329,8 +329,8 @@
    *
    * @return the address@hidden Content} model for this <code>Document</code>
    *
-   * @see address@hidden GapContent}
-   * @see address@hidden StringContent}
+   * @see GapContent
+   * @see StringContent
    */
   protected Content getContent()
   {
@@ -401,7 +401,7 @@
   /**
    * Returns all registered listeners of a given listener type.
    *
-   * @return the type of the listeners to be queried
+   * @param listenerType the type of the listeners to be queried
    *
    * @return all registered listeners of the specified type
    */
@@ -800,7 +800,7 @@
    * provide intelligent management of <code>AttributeSet</code>s, eliminating
    * costly duplication.
    *
-   * @see address@hidden StyleContext}
+   * @see StyleContext
    */
   public interface AttributeContext
   {
@@ -1134,7 +1134,7 @@
     /**
      * Removes a set of attribute from this element.
      *
-     * @param the names of the attributes to be removed
+     * @param names the names of the attributes to be removed
      */
     public void removeAttributes(Enumeration names)
     {
@@ -1234,7 +1234,7 @@
      *
      * @return the resolve parent of this element
      *
-     * @see address@hidden #setResolveParent(AttributeSet)}
+     * @see #setResolveParent(AttributeSet)
      */
     public AttributeSet getResolveParent()
     {
@@ -1563,7 +1563,7 @@
      * @return the <code>Element</code> at the specified <code>Document</code>
      *         offset
      *
-     * @see address@hidden #getElementIndex(int)}
+     * @see #getElementIndex(int)
      */
     public Element positionToElement(int position)
     {
Index: javax/swing/text/Caret.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/Caret.java,v
retrieving revision 1.8
diff -u -r1.8 Caret.java
--- javax/swing/text/Caret.java 3 Aug 2005 08:55:43 -0000       1.8
+++ javax/swing/text/Caret.java 22 Aug 2005 11:30:44 -0000
@@ -122,7 +122,7 @@
    *
    * @param dot the new position to be set
    *
-   * @see address@hidden #moveDot(int)}
+   * @see #moveDot(int)
    */
   void setDot(int dot);
   
@@ -132,7 +132,7 @@
    *
    * @param dot the location where to move the dot
    *
-   * @see address@hidden #setDot(int)}
+   * @see #setDot(int)
    */
   void moveDot(int dot);
   
@@ -151,7 +151,7 @@
    *
    * @return the current visual position of this <code>Caret</code>
    *
-   * @see address@hidden #setMagicCaretPosition}
+   * @see #setMagicCaretPosition
    */
   Point getMagicCaretPosition();
 
Index: javax/swing/text/CompositeView.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/CompositeView.java,v
retrieving revision 1.3
diff -u -r1.3 CompositeView.java
--- javax/swing/text/CompositeView.java 17 Aug 2005 19:59:35 -0000      1.3
+++ javax/swing/text/CompositeView.java 22 Aug 2005 11:30:45 -0000
@@ -92,7 +92,7 @@
    *
    * @param f the view factory to use for creating new child views
    *
-   * @see address@hidden #setParent}
+   * @see #setParent
    */
   protected void loadChildren(ViewFactory f)
   {
@@ -112,7 +112,7 @@
    * In addition to setting the parent, this calls address@hidden 
#loadChildren}, if
    * this <code>View</code> does not already have its children initialized.
    *
-   * @param p the parent to set
+   * @param parent the parent to set
    */
   public void setParent(View parent)
   {
@@ -186,8 +186,8 @@
    *
    * @param pos the position of the character in the model
    * @param a the area that is occupied by the view
-   * @param bias either address@hidden Position.Bias.Forward} or
-   *        address@hidden Position.Bias.Backward} depending on the preferred
+   * @param bias either address@hidden Position.Bias#Forward} or
+   *        address@hidden Position.Bias#Backward} depending on the preferred
    *        direction bias. If <code>null</code> this defaults to
    *        <code>Position.Bias.Forward</code>
    *
@@ -262,7 +262,7 @@
    * address@hidden #getNextEastWestVisualPositionFrom}.
    *
    * @param pos the model position to start search from
-   * @param the bias for <code>pos</code>
+   * @param b the bias for <code>pos</code>
    * @param a the allocated region for this view
    * @param direction the direction from the current position, can be one of
    *        the following:
@@ -414,7 +414,7 @@
    *
    * Also this translates from an immutable allocation to a mutable allocation
    * that is typically reused and further narrowed, like in
-   * address@hidden childAllocation}.
+   * address@hidden #childAllocation}.
    *
    * @param a the allocation given to this <code>CompositeView</code>
    *
@@ -450,8 +450,8 @@
 
   /**
    * Sets the insets defined by attributes in <code>attributes</code>. This
-   * queries the attribute keys address@hidden StyleConstants#SpaveAbove},
-   * address@hidden StyleConstants#SpaveBelow}, address@hidden 
StyleConstants#LeftIndent} and
+   * queries the attribute keys address@hidden StyleConstants#SpaceAbove},
+   * address@hidden StyleConstants#SpaceBelow}, address@hidden 
StyleConstants#LeftIndent} and
    * address@hidden StyleConstants#RightIndent} and calls address@hidden 
#setInsets} to
    * actually set the insets on this <code>CompositeView</code>.
    *
@@ -542,7 +542,7 @@
    * the arrow keys.
    *
    * @param pos the model position to start search from
-   * @param the bias for <code>pos</code>
+   * @param b the bias for <code>pos</code>
    * @param a the allocated region for this view
    * @param direction the direction from the current position, can be one of
    *        the following:
@@ -575,7 +575,7 @@
    * the arrow keys.
    *
    * @param pos the model position to start search from
-   * @param the bias for <code>pos</code>
+   * @param b the bias for <code>pos</code>
    * @param a the allocated region for this view
    * @param direction the direction from the current position, can be one of
    *        the following:
Index: javax/swing/text/DefaultCaret.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/DefaultCaret.java,v
retrieving revision 1.12
diff -u -r1.12 DefaultCaret.java
--- javax/swing/text/DefaultCaret.java  5 Aug 2005 10:10:17 -0000       1.12
+++ javax/swing/text/DefaultCaret.java  22 Aug 2005 11:30:46 -0000
@@ -288,7 +288,7 @@
    *
    * @return the current visual position of this <code>Caret</code>
    *
-   * @see address@hidden #setMagicCaretPosition}
+   * @see #setMagicCaretPosition
    */
   public Point getMagicCaretPosition()
   {
@@ -436,7 +436,7 @@
    * Registers a address@hidden ChangeListener} that is notified whenever that 
state
    * of this <code>Caret</code> changes.
    *
-   * @param l the listener to register to this caret
+   * @param listener the listener to register to this caret
    */
   public void addChangeListener(ChangeListener listener)
   {
@@ -446,7 +446,7 @@
   /**
    * Removes a address@hidden ChangeListener} from the list of registered 
listeners.
    *
-   * @param l the listener to remove
+   * @param listener the listener to remove
    */
   public void removeChangeListener(ChangeListener listener)
   {
@@ -528,7 +528,7 @@
    *
    * @param dot the location where to move the dot
    *
-   * @see address@hidden #setDot(int)}
+   * @see #setDot(int)
    */
   public void moveDot(int dot)
   {
@@ -544,7 +544,7 @@
    *
    * @param dot the new position to be set
    *
-   * @see address@hidden #moveDot(int)}
+   * @see #moveDot(int)
    */
   public void setDot(int dot)
   {
Index: javax/swing/text/DefaultEditorKit.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/DefaultEditorKit.java,v
retrieving revision 1.18
diff -u -r1.18 DefaultEditorKit.java
--- javax/swing/text/DefaultEditorKit.java      5 Aug 2005 10:10:17 -0000       
1.18
+++ javax/swing/text/DefaultEditorKit.java      22 Aug 2005 11:30:47 -0000
@@ -64,7 +64,7 @@
   /**
    * Creates a beep on the PC speaker.
    *
-   * @see address@hidden Toolkit#beep()}
+   * @see Toolkit#beep()
    */
   public static class BeepAction
     extends TextAction
@@ -91,9 +91,9 @@
   /**
    * Copies the selected content into the system clipboard.
    *
-   * @see address@hidden Toolkit#getSystemClipboard()}
-   * @see address@hidden CutAction}
-   * @see address@hidden PasteAction}
+   * @see Toolkit#getSystemClipboard()
+   * @see CutAction
+   * @see PasteAction
    */
   public static class CopyAction 
     extends TextAction
@@ -124,9 +124,9 @@
    * Copies the selected content into the system clipboard and deletes the
    * selection.
    *
-   * @see address@hidden Toolkit#getSystemClipboard()}
-   * @see address@hidden CopyAction}
-   * @see address@hidden PasteAction}
+   * @see Toolkit#getSystemClipboard()
+   * @see CopyAction
+   * @see PasteAction
    */
   public static class CutAction 
     extends TextAction
@@ -155,9 +155,9 @@
   /**
    * Copies content from the system clipboard into the editor.
    *
-   * @see address@hidden Toolkit#getSystemClipboard()}
-   * @see address@hidden CopyAction}
-   * @see address@hidden CutAction}
+   * @see Toolkit#getSystemClipboard()
+   * @see CopyAction
+   * @see CutAction
    */
   public static class PasteAction 
     extends TextAction
@@ -330,14 +330,14 @@
    * The name of the <code>Action</code> that moves the caret one character
    * backwards.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String backwardAction = "caret-backward";
 
   /**
    * The name of the <code>Action</code> that creates a beep in the speaker.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String beepAction = "beep";
 
@@ -345,7 +345,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the <code>Document</code>.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String beginAction = "caret-begin";
 
@@ -353,7 +353,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the current line.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String beginLineAction = "caret-begin-line";
 
@@ -361,7 +361,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the current paragraph.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String beginParagraphAction = "caret-begin-paragraph";
 
@@ -369,7 +369,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the current word.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String beginWordAction = "caret-begin-word";
 
@@ -377,7 +377,7 @@
    * The name of the <code>Action</code> that copies the selected content
    * into the system clipboard.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String copyAction = "copy-to-clipboard";
 
@@ -385,7 +385,7 @@
    * The name of the <code>Action</code> that copies the selected content
    * into the system clipboard and removes the selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String cutAction = "cut-to-clipboard";
 
@@ -393,7 +393,7 @@
    * The name of the <code>Action</code> that is performed by default if
    * a key is typed and there is no keymap entry.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String defaultKeyTypedAction = "default-typed";
 
@@ -401,7 +401,7 @@
    * The name of the <code>Action</code> that deletes the character that
    * follows the current caret position.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String deleteNextCharAction = "delete-next";
 
@@ -409,14 +409,14 @@
    * The name of the <code>Action</code> that deletes the character that
    * precedes the current caret position.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String deletePrevCharAction = "delete-previous";
 
   /**
    * The name of the <code>Action</code> that moves the caret one line down.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String downAction = "caret-down";
 
@@ -424,7 +424,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the <code>Document</code>.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String endAction = "caret-end";
 
@@ -432,7 +432,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the current line.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String endLineAction = "caret-end-line";
 
@@ -446,7 +446,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the current paragraph.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String endParagraphAction = "caret-end-paragraph";
 
@@ -454,7 +454,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the current word.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String endWordAction = "caret-end-word";
 
@@ -462,28 +462,28 @@
    * The name of the <code>Action</code> that moves the caret one character
    * forward.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String forwardAction = "caret-forward";
 
   /**
    * The name of the <code>Action</code> that inserts a line break.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String insertBreakAction = "insert-break";
 
   /**
    * The name of the <code>Action</code> that inserts some content.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String insertContentAction = "insert-content";
 
   /**
    * The name of the <code>Action</code> that inserts a TAB.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String insertTabAction = "insert-tab";
 
@@ -491,21 +491,21 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the next word.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String nextWordAction = "caret-next-word";
 
   /**
    * The name of the <code>Action</code> that moves the caret one page down.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String pageDownAction = "page-down";
 
   /**
    * The name of the <code>Action</code> that moves the caret one page up.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String pageUpAction = "page-up";
 
@@ -513,7 +513,7 @@
    * The name of the <code>Action</code> that copies content from the system
    * clipboard into the document.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String pasteAction = "paste-from-clipboard";
 
@@ -521,7 +521,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the previous word.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String previousWordAction = "caret-previous-word";
 
@@ -529,14 +529,14 @@
    * The name of the <code>Action</code> that sets the editor in read only
    * mode.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String readOnlyAction = "set-read-only";
 
   /**
    * The name of the <code>Action</code> that selects the whole document.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectAllAction = "select-all";
 
@@ -544,7 +544,7 @@
    * The name of the <code>Action</code> that moves the caret one character
    * backwards, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionBackwardAction = "selection-backward";
 
@@ -552,7 +552,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the document, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionBeginAction = "selection-begin";
 
@@ -560,7 +560,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the current line, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionBeginLineAction = "selection-begin-line";
 
@@ -568,7 +568,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the current paragraph, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionBeginParagraphAction =
     "selection-begin-paragraph";
@@ -577,7 +577,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the current word, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionBeginWordAction = "selection-begin-word";
 
@@ -585,7 +585,7 @@
    * The name of the <code>Action</code> that moves the caret one line down,
    * possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionDownAction = "selection-down";
 
@@ -593,7 +593,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the document, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionEndAction = "selection-end";
 
@@ -601,7 +601,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the current line, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionEndLineAction = "selection-end-line";
 
@@ -609,7 +609,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the current paragraph, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionEndParagraphAction =
     "selection-end-paragraph";
@@ -618,7 +618,7 @@
    * The name of the <code>Action</code> that moves the caret to the end
    * of the current word, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionEndWordAction = "selection-end-word";
 
@@ -626,7 +626,7 @@
    * The name of the <code>Action</code> that moves the caret one character
    * forwards, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionForwardAction = "selection-forward";
 
@@ -634,7 +634,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the next word, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionNextWordAction = "selection-next-word";
 
@@ -642,7 +642,7 @@
    * The name of the <code>Action</code> that moves the caret to the beginning
    * of the previous word, possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionPreviousWordAction =
     "selection-previous-word";
@@ -651,7 +651,7 @@
    * The name of the <code>Action</code> that moves the caret one line up,
    * possibly extending the current selection.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectionUpAction = "selection-up";
 
@@ -659,7 +659,7 @@
    * The name of the <code>Action</code> that selects the line around the
    * caret.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectLineAction = "select-line";
 
@@ -667,7 +667,7 @@
    * The name of the <code>Action</code> that selects the paragraph around the
    * caret.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectParagraphAction = "select-paragraph";
 
@@ -675,14 +675,14 @@
    * The name of the <code>Action</code> that selects the word around the
    * caret.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String selectWordAction = "select-word";
 
   /**
    * The name of the <code>Action</code> that moves the caret one line up.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String upAction = "caret-up";
 
@@ -690,7 +690,7 @@
    * The name of the <code>Action</code> that sets the editor in read-write
    * mode.
    *
-   * @see address@hidden #getActions()}
+   * @see #getActions()
    */
   public static final String writableAction = "set-writable";
 
@@ -825,7 +825,7 @@
 
   /**
    * Creates the default address@hidden Document} that this 
<code>EditorKit</code>
-   * supports. This is a address@hidden DefaultDocument} in this case.
+   * supports. This is a address@hidden PlainDocument} in this case.
    *
    * @return the default address@hidden Document} that this 
<code>EditorKit</code>
    *         supports
Index: javax/swing/text/DefaultStyledDocument.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/text/DefaultStyledDocument.java,v
retrieving revision 1.6
diff -u -r1.6 DefaultStyledDocument.java
--- javax/swing/text/DefaultStyledDocument.java 29 Jul 2005 15:27:41 -0000      
1.6
+++ javax/swing/text/DefaultStyledDocument.java 22 Aug 2005 11:30:48 -0000
@@ -48,7 +48,7 @@
  * The default implementation of address@hidden StyledDocument}.
  *
  * The document is modeled as an address@hidden Element} tree, which has
- * a address@hidden SecionElement} as single root, which has one or more
+ * a address@hidden SectionElement} as single root, which has one or more
  * address@hidden AbstractDocument.BranchElement}s as paragraph nodes
  * and each paragraph node having one or more
  * address@hidden AbstractDocument.LeafElement}s as content nodes.
@@ -395,7 +395,7 @@
    *
    * @param offset the start offset of the fragment
    * @param length the length of the fragment
-   * @param attribute the text attributes to set
+   * @param attributes the text attributes to set
    * @param replace if <code>true</code>, the attributes of the current
    *     selection are overridden, otherwise they are merged
    */
@@ -471,7 +471,7 @@
    *
    * @param offset the beginning of the fragment
    * @param length the length of the fragment
-   * @param attribute the text attributes to set
+   * @param attributes the text attributes to set
    * @param replace if <code>true</code>, the attributes of the current
    *     selection are overridden, otherwise they are merged
    */
Index: javax/swing/text/ElementIterator.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/ElementIterator.java,v
retrieving revision 1.1
diff -u -r1.1 ElementIterator.java
--- javax/swing/text/ElementIterator.java       19 Aug 2005 21:46:23 -0000      
1.1
+++ javax/swing/text/ElementIterator.java       22 Aug 2005 11:30:48 -0000
@@ -74,7 +74,7 @@
 
   /**
    * Create a new ElementIterator to iterate over the given document.
-   * @param document the Document over which we iterate
+   * @param root the Document over which we iterate
    */
   public ElementIterator(Element root)
   {
Index: javax/swing/text/GlyphView.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/GlyphView.java,v
retrieving revision 1.3
diff -u -r1.3 GlyphView.java
--- javax/swing/text/GlyphView.java     17 Aug 2005 19:59:35 -0000      1.3
+++ javax/swing/text/GlyphView.java     22 Aug 2005 11:30:48 -0000
@@ -90,8 +90,8 @@
    *
    * @param pos the position of the character in the model
    * @param a the area that is occupied by the view
-   * @param bias either address@hidden Position.Bias.Forward} or
-   *        address@hidden Position.Bias.Backward} depending on the preferred
+   * @param b either address@hidden Position.Bias#Forward} or
+   *        address@hidden Position.Bias#Backward} depending on the preferred
    *        direction bias. If <code>null</code> this defaults to
    *        <code>Position.Bias.Forward</code>
    *
Index: javax/swing/text/IconView.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/IconView.java,v
retrieving revision 1.3
diff -u -r1.3 IconView.java
--- javax/swing/text/IconView.java      17 Aug 2005 19:59:35 -0000      1.3
+++ javax/swing/text/IconView.java      22 Aug 2005 11:30:48 -0000
@@ -89,8 +89,8 @@
    *
    * @param pos the position of the character in the model
    * @param a the area that is occupied by the view
-   * @param bias either address@hidden Position.Bias.Forward} or
-   *        address@hidden Position.Bias.Backward} depending on the preferred
+   * @param b either address@hidden Position.Bias#Forward} or
+   *        address@hidden Position.Bias#Backward} depending on the preferred
    *        direction bias. If <code>null</code> this defaults to
    *        <code>Position.Bias.Forward</code>
    *
Index: javax/swing/text/View.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/View.java,v
retrieving revision 1.16
diff -u -r1.16 View.java
--- javax/swing/text/View.java  17 Aug 2005 19:59:35 -0000      1.16
+++ javax/swing/text/View.java  22 Aug 2005 11:30:49 -0000
@@ -467,8 +467,8 @@
    *
    * @param pos the position of the character in the model
    * @param a the area that is occupied by the view
-   * @param bias either address@hidden Position.Bias.Forward} or
-   *        address@hidden Position.Bias.Backward} depending on the preferred
+   * @param b either address@hidden Position.Bias#Forward} or
+   *        address@hidden Position.Bias#Backward} depending on the preferred
    *        direction bias. If <code>null</code> this defaults to
    *        <code>Position.Bias.Forward</code>
    *

reply via email to

[Prev in Thread] Current Thread [Next in Thread]