From a10dbcc9ee33a985d2920cf431ec185a353fd9fd Mon Sep 17 00:00:00 2001
From: Veronika Irvine
Date: Wed, 26 Jan 2005 18:09:48 +0000
Subject: bug 83251 - javadoc
---
.../common/org/eclipse/swt/custom/StyleRange.java | 2 +-
.../common/org/eclipse/swt/custom/StyledText.java | 16 ++++++++--------
.../common/org/eclipse/swt/custom/StyledTextContent.java | 4 ++--
.../win32/org/eclipse/swt/ole/win32/OleClientSite.java | 4 ++--
.../win32/org/eclipse/swt/ole/win32/OleControlSite.java | 2 +-
.../common/org/eclipse/swt/layout/FormAttachment.java | 1 -
.../common/org/eclipse/swt/widgets/Dialog.java | 2 +-
.../common/org/eclipse/swt/widgets/Event.java | 5 +----
.../win32/org/eclipse/swt/graphics/Region.java | 2 +-
.../win32/org/eclipse/swt/graphics/TextLayout.java | 4 ++--
.../win32/org/eclipse/swt/widgets/Spinner.java | 4 ++--
.../Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java | 6 +++---
12 files changed, 24 insertions(+), 28 deletions(-)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
index 4300ce403d..2991065638 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
@@ -117,7 +117,7 @@ public boolean isUnstyled() {
* same field values for except for start and length.
*
*
- * @param object the object to compare with this object
+ * @param style the object to compare with this object
* @return true if the objects are similar, false otherwise
*/
public boolean similarTo(StyleRange style) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
index 32bb4507e8..d46ca48bf0 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
@@ -1645,7 +1645,7 @@ public StyledText(Composite parent, int style) {
* widget when the widget text has changed.
*
*
- * @param listener the listener
+ * @param extendedModifyListener the listener
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
* - ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@@ -1802,7 +1802,7 @@ public void addLineStyleListener(LineStyleListener listener) {
* has changed.
*
*
- * @param listener the listener
+ * @param modifyListener the listener
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
* - ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@@ -1875,7 +1875,7 @@ public void addVerifyKeyListener(VerifyKeyListener listener) {
* text change.
*
*
- * @param listener the listener
+ * @param verifyListener the listener
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
* - ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@@ -6105,7 +6105,7 @@ public void removeBidiSegmentListener(BidiSegmentListener listener) {
* Removes the specified extended modify listener.
*
*
- * @param listener the listener
+ * @param extendedModifyListener the listener
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
* - ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@@ -6173,7 +6173,7 @@ public void removeLineStyleListener(LineStyleListener listener) {
* Removes the specified modify listener.
*
*
- * @param listener the listener
+ * @param modifyListener the listener
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
* - ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@@ -6213,7 +6213,7 @@ public void removeSelectionListener(SelectionListener listener) {
* Removes the specified verify listener.
*
*
- * @param listener the listener
+ * @param verifyListener the listener
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
* - ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@@ -6732,7 +6732,7 @@ void setClipboardContent(int start, int length, int clipboardType) throws SWTErr
* Sets the content implementation to use for text storage.
*
*
- * @param content StyledTextContent implementation to use for text storage.
+ * @param newContent StyledTextContent implementation to use for text storage.
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
* - ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
@@ -7520,7 +7520,7 @@ public void setTextLimit(int limit) {
* Note: The top index is reset to 0 when new text is set in the widget.
*
*
- * @param index new top index. Must be between 0 and
+ * @param topIndex new top index. Must be between 0 and
* getLineCount() - fully visible lines per page. If no lines are fully
* visible the maximum value is getLineCount() - 1. An out of range
* index will be adjusted accordingly.
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextContent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextContent.java
index 0ad0038867..ab39b38296 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextContent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextContent.java
@@ -186,8 +186,8 @@ public void removeTextChangeListener(TextChangeListener listener);
* @param start start offset of text to replace, none of the offsets include
* delimiters of preceeding lines, offset 0 is the first character of the
* document
- * @param replaceLength start offset of text to replace
- * @param newText start offset of text to replace
+ * @param replaceLength length of text to replace
+ * @param text text to replace
* @see TextChangeListener
*/
public void replaceTextRange(int start, int replaceLength, String text);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
index 2f26e12054..912c33e444 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
@@ -208,7 +208,7 @@ public OleClientSite(Composite parent, int style, File file) {
*
* @param parent a composite widget; must be an OleFrame
* @param style the bitwise OR'ing of widget styles
- * @param progID the unique program identifier of am OLE Document application;
+ * @param progId the unique program identifier of am OLE Document application;
* the value of the ProgID key or the value of the VersionIndependentProgID key specified
* in the registry for the desired OLE Document (for example, the VersionIndependentProgID
* for Word is Word.Document)
@@ -265,7 +265,7 @@ public OleClientSite(Composite parent, int style, String progId) {
*
* @param parent a composite widget; must be an OleFrame
* @param style the bitwise OR'ing of widget styles
- * @param progID the unique program identifier of am OLE Document application;
+ * @param progId the unique program identifier of am OLE Document application;
* the value of the ProgID key or the value of the VersionIndependentProgID key specified
* in the registry for the desired OLE Document (for example, the VersionIndependentProgID
* for Word is Word.Document)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
index c27dfb2be1..1190fec84a 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
@@ -64,7 +64,7 @@ public class OleControlSite extends OleClientSite
*
* @param parent a composite widget; must be an OleFrame
* @param style the bitwise OR'ing of widget styles
- * @param progID the unique program identifier which has been registered for this ActiveX Control;
+ * @param progId the unique program identifier which has been registered for this ActiveX Control;
* the value of the ProgID key or the value of the VersionIndependentProgID key specified
* in the registry for this Control (for example, the VersionIndependentProgID for
* Internet Explorer is Shell.Explorer)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java
index 57dd041701..fa04b9ece3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java
@@ -138,7 +138,6 @@ FormAttachment () {
* denominator of 100. The offset is zero.
*
* @param numerator the percentage of the position
- * @param offset the offset of the side from the position
*
* @since 3.0
*/
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Dialog.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Dialog.java
index 8fc81a3935..91631fb7b5 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Dialog.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Dialog.java
@@ -222,7 +222,7 @@ public String getText () {
* window manager will typically display as the receiver's
* title, to the argument, which must not be null.
*
- * @param text the new text
+ * @param string the new text
*
* @exception IllegalArgumentException
* - ERROR_NULL_ARGUMENT - if the text is null
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Event.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Event.java
index 0c06c06715..79563cdd61 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Event.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Event.java
@@ -191,10 +191,7 @@ public Rectangle getBounds () {
/**
* Sets the bounds.
*
-* @param x the new x position
-* @param y the new y position
-* @param width the new width
-* @param height the new height
+* @param rect the new rectangle
*/
public void setBounds (Rectangle rect) {
this.x = rect.x;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Region.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Region.java
index a408a51ec1..e5a8fe79f1 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Region.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Region.java
@@ -563,7 +563,7 @@ public void translate (int x, int y) {
* Translate all of the polygons the receiver maintains to describe
* its area by the specified point.
*
- * @param point the point to translate
+ * @param pt the point to translate
*
* @exception IllegalArgumentException
* - ERROR_NULL_ARGUMENT - if the argument is null
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
index 467ab7fb8d..1bc5c0e0d1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
@@ -1544,7 +1544,7 @@ public void setAlignment (int alignment) {
*
*
* @see #setDescent(int)
- * @see #getLineMetrics()
+ * @see #getLineMetrics(int)
*/
public void setAscent(int ascent) {
checkLayout();
@@ -1570,7 +1570,7 @@ public void setAscent(int ascent) {
*
*
* @see #setAscent(int)
- * @see #getLineMetrics()
+ * @see #getLineMetrics(int)
*/
public void setDescent(int descent) {
checkLayout();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
index 9bfa89583d..802c9048f5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
@@ -684,7 +684,7 @@ void setForegroundPixel (int pixel) {
* modified by when the up/down arrows are pressed to
* the argument, which must be at least one.
*
- * @param increment the new increment (must be greater than zero)
+ * @param value the new increment (must be greater than zero)
*
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
@@ -774,7 +774,7 @@ public void setMinimum (int value) {
* modified by when the page up/down keys are pressed
* to the argument, which must be at least one.
*
- * @param pageIncrement the page increment (must be greater than zero)
+ * @param value the page increment (must be greater than zero)
*
* @exception SWTException
* - ERROR_WIDGET_DISPOSED - if the receiver has been disposed
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
index 28ad4bcf41..a22949e720 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
@@ -281,7 +281,7 @@ public void clear (int index) {
*
*
* @see SWT#VIRTUAL
- * @see SWT.SetData
+ * @see SWT#SetData
*
* @since 3.0
*/
@@ -353,7 +353,7 @@ public void clear (int start, int end) {
*
*
* @see SWT#VIRTUAL
- * @see SWT.SetData
+ * @see SWT#SetData
*
* @since 3.0
*/
@@ -416,7 +416,7 @@ public void clear (int [] indices) {
*
*
* @see SWT#VIRTUAL
- * @see SWT.SetData
+ * @see SWT#SetData
*
* @since 3.0
*/
--
cgit v1.2.3