[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: API doc fixes in javax.swing.* package
From: |
David Gilbert |
Subject: |
[cp-patches] FYI: API doc fixes in javax.swing.* package |
Date: |
Thu, 21 Jul 2005 16:01:03 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050426) |
I committed this patch:
2005-07-21 David Gilbert <address@hidden>
* javax/swing/AbstractListModel.java: API doc fixes,
* javax/swing/BorderFactory.java: likewise,
* javax/swing/BoundedRangeModel.java: likewise,
* javax/swing/BoxLayout.java: likewise,
* javax/swing/CellRendererPane.java: likewise,
* javax/swing/ComponentInputMap.java: likewise,
* javax/swing/DefaultBoundedRangeModel.java: likewise,
* javax/swing/DefaultButtonModel.java: likewise,
* javax/swing/DefaultCellEditor.java: likewise,
* javax/swing/InputMap.java: likewise,
* javax/swing/JButton.java: likewise,
* javax/swing/JFrame.java: likewise,
* javax/swing/JLabel.java: likewise,
* javax/swing/JMenuBar.java: likewise,
* javax/swing/JPopupMenu.java: likewise,
* javax/swing/JScrollBar.java: likewise,
* javax/swing/JScrollPane.java: likewise,
* javax/swing/JSeparator.java: likewise,
* javax/swing/JSlider.java: likewise,
* javax/swing/JSpinner.java: likewise,
* javax/swing/JTextArea.java: likewise,
* javax/swing/JToggleButton.java: likewise,
* javax/swing/SpinnerListModel.java: likewise,
* javax/swing/Spring.java: likewise,
* javax/swing/SpringLayout.java: likewise.
Regards,
Dave Gilbert
Index: javax/swing/AbstractListModel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/AbstractListModel.java,v
retrieving revision 1.11
diff -u -r1.11 AbstractListModel.java
--- javax/swing/AbstractListModel.java 2 Jul 2005 20:32:46 -0000 1.11
+++ javax/swing/AbstractListModel.java 21 Jul 2005 14:39:12 -0000
@@ -88,7 +88,7 @@
/**
* Call address@hidden ListDataListener#contentsChanged} on each element of
the
- * address@hidden listenerList} which is a address@hidden ListDataListener}.
The event
+ * address@hidden #listenerList} which is a address@hidden
ListDataListener}. The event
* fired has type address@hidden and represents a
* change to the data elements in the range [startIndex, endIndex]
* inclusive.
@@ -110,7 +110,7 @@
/**
* Call address@hidden ListDataListener#intervalAdded} on each element of the
- * address@hidden listenerList} which is a address@hidden ListDataListener}.
The event
+ * address@hidden #listenerList} which is a address@hidden
ListDataListener}. The event
* fired has type address@hidden and represents an
* addition of the data elements in the range [startIndex, endIndex]
* inclusive.
@@ -132,7 +132,7 @@
/**
* Call address@hidden ListDataListener#intervalRemoved} on each element of
the
- * address@hidden listenerList} which is a address@hidden ListDataListener}.
The event
+ * address@hidden #listenerList} which is a address@hidden
ListDataListener}. The event
* fired has type address@hidden and represents a
* removal of the data elements in the range [startIndex, endIndex]
* inclusive.
@@ -155,7 +155,7 @@
/**
* Return the subset of address@hidden EventListener} objects found in this
- * object's address@hidden listenerList} which are elements of the specified
+ * object's address@hidden #listenerList} which are elements of the specified
* type.
*
* @param listenerType The type of listeners to select
@@ -170,7 +170,7 @@
/**
* A synonym for <code>getListeners(ListDataListener.class)</code>.
*
- * @return The set of ListDataListeners found in the address@hidden
listenerList}
+ * @return The set of ListDataListeners found in the address@hidden
#listenerList}
*/
public ListDataListener[] getListDataListeners()
{
Index: javax/swing/BorderFactory.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/BorderFactory.java,v
retrieving revision 1.10
diff -u -r1.10 BorderFactory.java
--- javax/swing/BorderFactory.java 2 Jul 2005 20:32:46 -0000 1.10
+++ javax/swing/BorderFactory.java 21 Jul 2005 14:39:13 -0000
@@ -257,7 +257,7 @@
* justification (left) and using the default font and text color determined
* by the current look and feel.
*
- * @param order The Border object to add the title to
+ * @param border The Border object to add the title to
* @param title A String containing the text of the title
*
* @return The TitledBorder object
Index: javax/swing/BoundedRangeModel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/BoundedRangeModel.java,v
retrieving revision 1.7
diff -u -r1.7 BoundedRangeModel.java
--- javax/swing/BoundedRangeModel.java 13 Jul 2005 21:22:44 -0000 1.7
+++ javax/swing/BoundedRangeModel.java 21 Jul 2005 14:39:13 -0000
@@ -108,7 +108,7 @@
* @return <code>true</code> if value is adjusting,
* otherwise <code>false</code>
*
- * @see setValueIsAdjusting(boolean)
+ * @see #setValueIsAdjusting(boolean)
*/
boolean getValueIsAdjusting();
Index: javax/swing/BoxLayout.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/BoxLayout.java,v
retrieving revision 1.15
diff -u -r1.15 BoxLayout.java
--- javax/swing/BoxLayout.java 2 Jul 2005 20:32:46 -0000 1.15
+++ javax/swing/BoxLayout.java 21 Jul 2005 14:39:14 -0000
@@ -150,7 +150,8 @@
* direction. This will be <code>insets.top</code> for vertical direction
* and <code>insets.left</code> for horizontal direction.
*
- * @param the address@hidden Insets} object from which to return the lower
bounds
+ * @param insets the address@hidden Insets} object from which to return
the lower
+ * bounds
*
* @return the lower bounds of the address@hidden Insets} object according
to this
* direction
@@ -226,7 +227,8 @@
* direction. This will be <code>insets.top</code> for vertical direction
* and <code>insets.left</code> for horizontal direction.
*
- * @param the address@hidden Insets} object from which to return the lower
bounds
+ * @param insets the address@hidden Insets} object from which to return
the lower
+ * bounds
*
* @return the lower bounds of the address@hidden Insets} object according
to this
* direction
Index: javax/swing/CellRendererPane.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/CellRendererPane.java,v
retrieving revision 1.8
diff -u -r1.8 CellRendererPane.java
--- javax/swing/CellRendererPane.java 2 Jul 2005 20:32:46 -0000 1.8
+++ javax/swing/CellRendererPane.java 21 Jul 2005 14:39:15 -0000
@@ -70,7 +70,6 @@
/**
* Constructor AccessibleCellRendererPane
- * @param component TODO
*/
protected AccessibleCellRendererPane()
{
Index: javax/swing/ComponentInputMap.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/ComponentInputMap.java,v
retrieving revision 1.6
diff -u -r1.6 ComponentInputMap.java
--- javax/swing/ComponentInputMap.java 2 Jul 2005 20:32:46 -0000 1.6
+++ javax/swing/ComponentInputMap.java 21 Jul 2005 14:39:15 -0000
@@ -70,7 +70,7 @@
* If actionMapKey is null an existing entry will be removed.
*
* @param keystroke the keystroke for the entry
- * @param actionMapKey the action.
+ * @param value the action.
*/
public void put(KeyStroke keystroke, Object value)
{
@@ -90,7 +90,7 @@
/**
* Remove an entry from the <code>InputMap</code>.
*
- * @param key the key of the entry to remove
+ * @param keystroke the key of the entry to remove
*/
public void remove(KeyStroke keystroke)
{
@@ -103,7 +103,7 @@
*
* @param parentMap the new parent
*
- * @exception IllegalArgument if parentMap is not a
+ * @exception IllegalArgumentException if parentMap is not a
* <code>ComponentInputMap</code> or not associated with the same component
*/
public void setParent(InputMap parentMap)
Index: javax/swing/DefaultBoundedRangeModel.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/swing/DefaultBoundedRangeModel.java,v
retrieving revision 1.12
diff -u -r1.12 DefaultBoundedRangeModel.java
--- javax/swing/DefaultBoundedRangeModel.java 2 Jul 2005 20:32:46 -0000
1.12
+++ javax/swing/DefaultBoundedRangeModel.java 21 Jul 2005 14:39:15 -0000
@@ -413,7 +413,7 @@
/**
* Retrieves the current listeners of the specified class.
*
- * @param c the class of listeners; usually address@hidden
+ * @param listenerType the class of listeners; usually address@hidden
* ChangeListener}<code>.class</code>.
*
* @return an array with the currently subscribed listeners, or
Index: javax/swing/DefaultButtonModel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/DefaultButtonModel.java,v
retrieving revision 1.22
diff -u -r1.22 DefaultButtonModel.java
--- javax/swing/DefaultButtonModel.java 13 Jul 2005 15:30:54 -0000 1.22
+++ javax/swing/DefaultButtonModel.java 21 Jul 2005 14:39:16 -0000
@@ -38,6 +38,7 @@
package javax.swing;
+import java.awt.ItemSelectable;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
@@ -265,9 +266,9 @@
}
/**
- * Inform each ItemListener in the address@hidden listenerList} that an
ItemEvent
+ * Inform each ItemListener in the address@hidden #listenerList} that an
ItemEvent
* has occurred. This happens in response to any change to the address@hidden
- * stateMask} field.
+ * #stateMask} field.
*
* @param e The ItemEvent to fire
*/
@@ -280,9 +281,9 @@
}
/**
- * Inform each ActionListener in the address@hidden listenerList} that an
+ * Inform each ActionListener in the address@hidden #listenerList} that an
* ActionEvent has occurred. This happens in response to the any change to
- * the address@hidden stateMask} field which makes the enabled, armed and
pressed
+ * the address@hidden #stateMask} field which makes the enabled, armed and
pressed
* properties all simultaneously <code>true</code>.
*
* @param e The ActionEvent to fire
@@ -296,7 +297,7 @@
}
/**
- * Inform each ChangeListener in the address@hidden listenerList} that a
ChangeEvent
+ * Inform each ChangeListener in the address@hidden #listenerList} that a
ChangeEvent
* has occurred. This happens in response to the any change to a property
* of the model.
*/
Index: javax/swing/DefaultCellEditor.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/DefaultCellEditor.java,v
retrieving revision 1.8
diff -u -r1.8 DefaultCellEditor.java
--- javax/swing/DefaultCellEditor.java 2 Jul 2005 20:32:46 -0000 1.8
+++ javax/swing/DefaultCellEditor.java 21 Jul 2005 14:39:16 -0000
@@ -75,8 +75,6 @@
/**
* Constructor EditorDelegate
- *
- * @param value0 TODO
*/
protected EditorDelegate()
{
Index: javax/swing/InputMap.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/InputMap.java,v
retrieving revision 1.10
diff -u -r1.10 InputMap.java
--- javax/swing/InputMap.java 2 Jul 2005 20:32:47 -0000 1.10
+++ javax/swing/InputMap.java 21 Jul 2005 14:39:16 -0000
@@ -80,7 +80,7 @@
/**
* Returns the binding for keystroke.
*
- * @param key the key of the enty
+ * @param keystroke the key of the enty
*
* @return the binding associated with keystroke may be null
*/
@@ -111,7 +111,7 @@
/**
* Remove an entry from the <code>InputMap</code>.
*
- * @param key the key of the entry to remove
+ * @param keystroke the key of the entry to remove
*/
public void remove(KeyStroke keystroke)
{
Index: javax/swing/JButton.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JButton.java,v
retrieving revision 1.20
diff -u -r1.20 JButton.java
--- javax/swing/JButton.java 20 Jul 2005 12:38:14 -0000 1.20
+++ javax/swing/JButton.java 21 Jul 2005 14:39:17 -0000
@@ -61,7 +61,7 @@
{
/**
* Returns the accessible role that this component represents.
- * This is address@hidden AccessibleRole.PUSH_BUTTON} for
<code>JButton</code>s.
+ * This is address@hidden AccessibleRole#PUSH_BUTTON} for
<code>JButton</code>s.
*
* @return the accessible role that this component represents
*/
Index: javax/swing/JFrame.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JFrame.java,v
retrieving revision 1.26
diff -u -r1.26 JFrame.java
--- javax/swing/JFrame.java 12 Jul 2005 13:48:35 -0000 1.26
+++ javax/swing/JFrame.java 21 Jul 2005 14:39:17 -0000
@@ -98,7 +98,7 @@
* @param gc the <code>GraphicsConfiguration</code> that is used for
* the new <code>JFrame</code>
*
- * @see Frame(GraphicsConfiguration)
+ * @see Frame#Frame(GraphicsConfiguration)
*/
public JFrame(GraphicsConfiguration gc)
{
@@ -114,7 +114,7 @@
* @param gc the <code>GraphicsConfiguration</code> that is used for
* the new <code>JFrame</code>
*
- * @see Frame(String, GraphicsConfiguration)
+ * @see Frame#Frame(String, GraphicsConfiguration)
*/
public JFrame(String title, GraphicsConfiguration gc)
{
Index: javax/swing/JLabel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JLabel.java,v
retrieving revision 1.24
diff -u -r1.24 JLabel.java
--- javax/swing/JLabel.java 20 Jul 2005 12:33:06 -0000 1.24
+++ javax/swing/JLabel.java 21 Jul 2005 14:39:18 -0000
@@ -123,9 +123,9 @@
* <code>part</code> parameter determines what is returned, the character,
* word or sentence after the index.
*
- * @param part one of address@hidden AccessibleText.CHARACTER},
- * address@hidden AccessibleText.WORD} or
- * address@hidden AccessibleText.SENTENCE}, specifying what is
returned
+ * @param part one of address@hidden AccessibleText#CHARACTER},
+ * address@hidden AccessibleText#WORD} or
+ * address@hidden AccessibleText#SENTENCE}, specifying what is
returned
* @param index the index
*
* @return the character, word or sentence after <code>index</code>
@@ -164,9 +164,9 @@
* <code>part</code> parameter determines what is returned, the character,
* word or sentence after the index.
*
- * @param part one of address@hidden AccessibleText.CHARACTER},
- * address@hidden AccessibleText.WORD} or
- * address@hidden AccessibleText.SENTENCE}, specifying what is
returned
+ * @param part one of address@hidden AccessibleText#CHARACTER},
+ * address@hidden AccessibleText#WORD} or
+ * address@hidden AccessibleText#SENTENCE}, specifying what is
returned
* @param index the index
*
* @return the character, word or sentence after <code>index</code>
@@ -205,9 +205,9 @@
* <code>part</code> parameter determines what is returned, the character,
* word or sentence before the index.
*
- * @param part one of address@hidden AccessibleText.CHARACTER},
- * address@hidden AccessibleText.WORD} or
- * address@hidden AccessibleText.SENTENCE}, specifying what is
returned
+ * @param part one of address@hidden AccessibleText#CHARACTER},
+ * address@hidden AccessibleText#WORD} or
+ * address@hidden AccessibleText#SENTENCE}, specifying what is
returned
* @param index the index
*
* @return the character, word or sentence before <code>index</code>
@@ -881,7 +881,7 @@
/**
* DOCUMENT ME!
*
- * @return
+ * @return The accessible context.
*/
public AccessibleContext getAccessibleContext()
{
Index: javax/swing/JMenuBar.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JMenuBar.java,v
retrieving revision 1.14
diff -u -r1.14 JMenuBar.java
--- javax/swing/JMenuBar.java 2 Jul 2005 20:32:47 -0000 1.14
+++ javax/swing/JMenuBar.java 21 Jul 2005 14:39:19 -0000
@@ -326,7 +326,7 @@
* Process key events forwarded from MenuSelectionManager. This method
* doesn't do anything. It is here to conform to the MenuElement interface.
*
- * @param event event forwarded from MenuSelectionManager
+ * @param e event forwarded from MenuSelectionManager
* @param path path to the menu element from which event was generated
* @param manager MenuSelectionManager for the current menu hierarchy
*
Index: javax/swing/JPopupMenu.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JPopupMenu.java,v
retrieving revision 1.18
diff -u -r1.18 JPopupMenu.java
--- javax/swing/JPopupMenu.java 18 Jul 2005 19:04:06 -0000 1.18
+++ javax/swing/JPopupMenu.java 21 Jul 2005 14:39:20 -0000
@@ -910,13 +910,13 @@
*/
private class LightWeightPopup extends Container implements Popup
{
+ private Component c;
+
/**
* Creates a new LightWeightPopup menu
*
* @param c Container containing menu items
*/
- private Component c;
-
public LightWeightPopup(Container c)
{
this.c = c;
Index: javax/swing/JScrollBar.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JScrollBar.java,v
retrieving revision 1.12
diff -u -r1.12 JScrollBar.java
--- javax/swing/JScrollBar.java 2 Jul 2005 20:32:48 -0000 1.12
+++ javax/swing/JScrollBar.java 21 Jul 2005 14:39:21 -0000
@@ -69,8 +69,6 @@
/**
* Creates a new AccessibleJSlider object.
- *
- * @param value0 DOCUMENT ME!
*/
protected AccessibleJScrollBar()
{
Index: javax/swing/JScrollPane.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JScrollPane.java,v
retrieving revision 1.25
diff -u -r1.25 JScrollPane.java
--- javax/swing/JScrollPane.java 5 Jul 2005 12:05:59 -0000 1.25
+++ javax/swing/JScrollPane.java 21 Jul 2005 14:39:22 -0000
@@ -571,8 +571,6 @@
* Creates a new <code>JScrollPane</code> without a view. The scrollbar
* policy is set to address@hidden #VERTICAL_SCROLLBAR_AS_NEEDED} and
* address@hidden #HORIZONTAL_SCROLLBAR_AS_NEEDED}.
- *
- * @param view the component that is embedded inside the JScrollPane
*/
public JScrollPane()
{
@@ -600,12 +598,12 @@
* @param vsbPolicy the vertical scrollbar policy to set
* @param hsbPolicy the vertical scrollbar policy to set
*
- * @see address@hidden ScrollPaneConstants#HORIZONTAL_SCROLLBAR_ALWAYS}
- * @see address@hidden ScrollPaneConstants#HORIZONTAL_SCROLLBAR_AS_NEEDED}
- * @see address@hidden ScrollPaneConstants#HORIZONTAL_SCROLLBAR_NEVER}
- * @see address@hidden ScrollPaneConstants#VERTICAL_SCROLLBAR_ALWAYS}
- * @see address@hidden ScrollPaneConstants#VERTICAL_SCROLLBAR_AS_NEEDED}
- * @see address@hidden ScrollPaneConstants#VERTICAL_SCROLLBAR_NEVER}
+ * @see ScrollPaneConstants#HORIZONTAL_SCROLLBAR_ALWAYS
+ * @see ScrollPaneConstants#HORIZONTAL_SCROLLBAR_AS_NEEDED
+ * @see ScrollPaneConstants#HORIZONTAL_SCROLLBAR_NEVER
+ * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_ALWAYS
+ * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_AS_NEEDED
+ * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_NEVER
*/
public JScrollPane(int vsbPolicy, int hsbPolicy)
{
@@ -620,12 +618,12 @@
* @param vsbPolicy the vertical scrollbar policy to set
* @param hsbPolicy the vertical scrollbar policy to set
*
- * @see address@hidden ScrollPaneConstants#HORIZONTAL_SCROLLBAR_ALWAYS}
- * @see address@hidden ScrollPaneConstants#HORIZONTAL_SCROLLBAR_AS_NEEDED}
- * @see address@hidden ScrollPaneConstants#HORIZONTAL_SCROLLBAR_NEVER}
- * @see address@hidden ScrollPaneConstants#VERTICAL_SCROLLBAR_ALWAYS}
- * @see address@hidden ScrollPaneConstants#VERTICAL_SCROLLBAR_AS_NEEDED}
- * @see address@hidden ScrollPaneConstants#VERTICAL_SCROLLBAR_NEVER}
+ * @see ScrollPaneConstants#HORIZONTAL_SCROLLBAR_ALWAYS
+ * @see ScrollPaneConstants#HORIZONTAL_SCROLLBAR_AS_NEEDED
+ * @see ScrollPaneConstants#HORIZONTAL_SCROLLBAR_NEVER
+ * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_ALWAYS
+ * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_AS_NEEDED
+ * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_NEVER
*/
public JScrollPane(Component view, int vsbPolicy, int hsbPolicy)
{
Index: javax/swing/JSeparator.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JSeparator.java,v
retrieving revision 1.8
diff -u -r1.8 JSeparator.java
--- javax/swing/JSeparator.java 2 Jul 2005 20:32:48 -0000 1.8
+++ javax/swing/JSeparator.java 21 Jul 2005 14:39:22 -0000
@@ -59,8 +59,6 @@
/**
* Constructor AccessibleJSeparator
- *
- * @param component TODO
*/
protected AccessibleJSeparator()
{
Index: javax/swing/JSlider.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JSlider.java,v
retrieving revision 1.17
diff -u -r1.17 JSlider.java
--- javax/swing/JSlider.java 20 Jul 2005 11:55:12 -0000 1.17
+++ javax/swing/JSlider.java 21 Jul 2005 14:39:23 -0000
@@ -41,6 +41,7 @@
import java.awt.Dimension;
import java.awt.MenuContainer;
import java.awt.image.ImageObserver;
+import java.beans.PropertyChangeEvent;
import java.io.Serializable;
import java.util.Dictionary;
import java.util.Enumeration;
Index: javax/swing/JSpinner.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JSpinner.java,v
retrieving revision 1.11
diff -u -r1.11 JSpinner.java
--- javax/swing/JSpinner.java 2 Jul 2005 20:32:49 -0000 1.11
+++ javax/swing/JSpinner.java 21 Jul 2005 14:39:24 -0000
@@ -49,7 +49,6 @@
import java.text.ParseException;
import java.text.SimpleDateFormat;
-import javax.swing.border.EtchedBorder;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import javax.swing.plaf.SpinnerUI;
@@ -297,7 +296,7 @@
* create a <code>DateEditor</code> instance
* @param dateFormatPattern the date format to use
*
- * @see SimpleDateFormat(String)
+ * @see SimpleDateFormat#SimpleDateFormat(String)
*/
public DateEditor(JSpinner spinner, String dateFormatPattern)
{
Index: javax/swing/JTextArea.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JTextArea.java,v
retrieving revision 1.14
diff -u -r1.14 JTextArea.java
--- javax/swing/JTextArea.java 2 Jul 2005 20:32:49 -0000 1.14
+++ javax/swing/JTextArea.java 21 Jul 2005 14:39:24 -0000
@@ -80,13 +80,13 @@
* @author Michael Koch (address@hidden)
* @author Andrew John Hughes (address@hidden)
* @see java.awt.TextArea
- * @see javax.swing.JTextComponent
+ * @see javax.swing.text.JTextComponent
* @see javax.swing.JTextField
* @see javax.swing.JTextPane
* @see javax.swing.JEditorPane
* @see javax.swing.text.Document
- * @see javax.swing.text.DocumentEvent
- * @see javax.swing.text.DocumentListener
+ * @see javax.swing.event.DocumentEvent
+ * @see javax.swing.event.DocumentListener
*/
public class JTextArea extends JTextComponent
@@ -166,7 +166,7 @@
/**
* Creates a new <code>JTextArea</code> object.
*
- * @param the document model to use
+ * @param doc the document model to use
*/
public JTextArea(Document doc)
{
@@ -176,7 +176,7 @@
/**
* Creates a new <code>JTextArea</code> object.
*
- * @param the document model to use
+ * @param doc the document model to use
* @param text the initial text
* @param rows the number of rows
* @param columns the number of cols
@@ -235,12 +235,12 @@
/**
* Returns the increment that is needed to expose exactly one new line
* of text. This is implemented here to return the values of
- * address@hidden #getRowHeight} and address@hidden getColumnWidth},
depending on
+ * address@hidden #getRowHeight} and address@hidden #getColumnWidth},
depending on
* the value of the argument <code>direction</code>.
*
* @param visibleRect the view area that is visible in the viewport
- * @param orientation either address@hidden SwingConstants.VERTICAL} or
- * address@hidden SwingConstants.HORIZONTAL}
+ * @param orientation either address@hidden SwingConstants#VERTICAL} or
+ * address@hidden SwingConstants#HORIZONTAL}
* @param direction less than zero for up/left scrolling, greater
* than zero for down/right scrolling
*
@@ -329,7 +329,7 @@
/**
* Sets the number of rows.
*
- * @param columns number of columns
+ * @param rows number of rows
*
* @exception IllegalArgumentException if rows is negative
*/
@@ -355,7 +355,7 @@
/**
* Enables/disables line wrapping.
*
- * @param wrapping <code>true</code> to enable line wrapping,
+ * @param flag <code>true</code> to enable line wrapping,
* <code>false</code> otherwise
*/
public void setLineWrap(boolean flag)
Index: javax/swing/JToggleButton.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JToggleButton.java,v
retrieving revision 1.23
diff -u -r1.23 JToggleButton.java
--- javax/swing/JToggleButton.java 15 Jul 2005 11:41:06 -0000 1.23
+++ javax/swing/JToggleButton.java 21 Jul 2005 14:39:25 -0000
@@ -134,7 +134,7 @@
* Sets the pressed state of the button. The selected state
* of the button also changes follwing the button being pressed.
*
- * @param b true if the button is pressed down.
+ * @param p true if the button is pressed down.
*/
public void setPressed(boolean p)
{
Index: javax/swing/SpinnerListModel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/SpinnerListModel.java,v
retrieving revision 1.4
diff -u -r1.4 SpinnerListModel.java
--- javax/swing/SpinnerListModel.java 2 Jul 2005 20:32:49 -0000 1.4
+++ javax/swing/SpinnerListModel.java 21 Jul 2005 14:39:25 -0000
@@ -42,6 +42,8 @@
import java.util.Arrays;
import java.util.List;
+import javax.swing.event.ChangeEvent;
+
/**
* An implementation of <code>SpinnerModel</code> which uses the values
* contained within a list or an array. The backing list or array is
Index: javax/swing/Spring.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/Spring.java,v
retrieving revision 1.2
diff -u -r1.2 Spring.java
--- javax/swing/Spring.java 2 Jul 2005 20:32:49 -0000 1.2
+++ javax/swing/Spring.java 21 Jul 2005 14:39:26 -0000
@@ -189,9 +189,9 @@
/**
* Creates a new SimpleSpring object.
*
- * @param min the constant minimum value.
- * @param pref the constant preferred value.
- * @param max the constant maximum value.
+ * @param newMin the constant minimum value.
+ * @param newPref the constant preferred value.
+ * @param newMax the constant maximum value.
*/
public SimpleSpring(int newMin, int newPref, int newMax)
{
Index: javax/swing/SpringLayout.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/SpringLayout.java,v
retrieving revision 1.4
diff -u -r1.4 SpringLayout.java
--- javax/swing/SpringLayout.java 2 Jul 2005 20:32:49 -0000 1.4
+++ javax/swing/SpringLayout.java 21 Jul 2005 14:39:27 -0000
@@ -152,7 +152,7 @@
/**
* Returns the constraint for the edge with the <code>edgeName</code>.
* This is expected to be one of
- * address@hidden #EAST}, address@hidden #WEST}, address@hidden NORTH} or
address@hidden SOUTH}.
+ * address@hidden #EAST}, address@hidden #WEST}, address@hidden #NORTH} or
address@hidden #SOUTH}.
*
* @param edgeName the name of the edge.
* @return the constraint for the specified edge.
@@ -246,7 +246,7 @@
* the mathematics still hold true.
*
* @param edgeName the name of the edge, one of address@hidden #EAST},
- * address@hidden #WEST}, address@hidden NORTH} or address@hidden
SOUTH}.
+ * address@hidden #WEST}, address@hidden #NORTH} or address@hidden
#SOUTH}.
* @param s the constraint to be set.
*/
public void setConstraint(String edgeName, Spring s)
@@ -361,8 +361,8 @@
* Method. This method does nothing, since SpringLayout does not manage
* String-indexed components.
*
- * @param component the component to be added.
- * @param constraint the constraint to be set.
+ * @param name the name.
+ * @param c the component to be added.
*/
public void addLayoutComponent(String name, Component c)
{
@@ -374,7 +374,7 @@
*
* @param c the component from which to get the constraint.
* @param edgeName the name of the edge, one of address@hidden #EAST},
- * address@hidden #WEST}, address@hidden NORTH} or address@hidden SOUTH}.
+ * address@hidden #WEST}, address@hidden #NORTH} or address@hidden
#SOUTH}.
* @return the constraint of the edge <code>edgeName</code> of the
* component c.
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: API doc fixes in javax.swing.* package,
David Gilbert <=