diff options
author | Carolyn MacLeod <carolyn> | 2004-05-11 07:57:52 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2004-05-11 07:57:52 +0000 |
commit | 524d79ea9ecd8197dab8f8d1b2841285c04ec9f7 (patch) | |
tree | 30c7b8e86d504488a801c042869ad6fcbad6dcb6 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java | |
parent | f429db6e57773ce96e34f2fa05fa073db3cdc6c7 (diff) | |
download | eclipse.platform.swt-524d79ea9ecd8197dab8f8d1b2841285c04ec9f7.tar.gz eclipse.platform.swt-524d79ea9ecd8197dab8f8d1b2841285c04ec9f7.tar.xz eclipse.platform.swt-524d79ea9ecd8197dab8f8d1b2841285c04ec9f7.zip |
Javadoc Basher output pre M9AFTER_JAVADOC_BASH_FOR_30M9
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java index 965aa1943c..2b033ee901 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java @@ -481,11 +481,12 @@ public void setIncrement (int value) { } /** - * Sets the maximum value which the receiver will allow - * to be the argument which must be greater than or - * equal to zero. + * Sets the maximum. If this value is negative or less than or + * equal to the minimum, the value is ignored. If necessary, first + * the thumb and then the selection are adjusted to fit within the + * new range. * - * @param value the new maximum (must be zero or greater) + * @param value the new maximum * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> @@ -508,11 +509,12 @@ public void setMaximum (int value) { } /** - * Sets the minimum value which the receiver will allow - * to be the argument which must be greater than or - * equal to zero. + * Sets the minimum value. If this value is negative or greater + * than or equal to the maximum, the value is ignored. If necessary, + * first the thumb and then the selection are adjusted to fit within + * the new range. * - * @param value the new minimum (must be zero or greater) + * @param value the new minimum * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> @@ -541,7 +543,7 @@ public void setMinimum (int value) { * are selected to the argument, which must be at least * one. * - * @return the page increment (must be greater than zero) + * @param value the page increment (must be greater than zero) * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> @@ -565,7 +567,7 @@ public void setPageIncrement (int value) { * value to the argument which must be greater than or equal * to zero. * - * @param value the new selection (must be zero or greater) + * @param selection the new selection (must be zero or greater) * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> @@ -582,17 +584,17 @@ public void setSelection (int value) { /** * Sets the size of the receiver's thumb relative to the - * difference between its maximum and minimum values to the - * argument which must be at least one. + * difference between its maximum and minimum values. This new + * value will be ignored if it is less than one, and will be + * clamped if it exceeds the receiver's current range. * - * @param value the new thumb value (must be at least one) + * @param value the new thumb value, which must be at least one and not + * larger than the size of the current range * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> - * - * @see ScrollBar */ public void setThumb (int value) { checkWidget (); |