diff options
author | Carolyn MacLeod <carolyn> | 2010-05-26 17:58:56 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2010-05-26 17:58:56 +0000 |
commit | 0f960e0b213854d19299aaa9b453b69c8d7ee794 (patch) | |
tree | 4ee2be0a3b8b821c15859cb8b9359d908978f4c3 /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java | |
parent | 15bb116304bc8aeea45302e2a4ff1e9abf3dd426 (diff) | |
download | eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.tar.gz eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.tar.xz eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.zip |
Bug 314492 - Do the annual copyright/javadoc bashAFTER_JAVADOC_BASH_FOR_36RC3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java index f62d24c951..502957e5b1 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java @@ -283,8 +283,7 @@ public int getSelection () { } /** - * Returns the size of the receiver's thumb relative to the - * difference between its maximum and minimum values. + * Returns the receiver's thumb value. * * @return the thumb value * @@ -475,10 +474,13 @@ void updateBar (int selection, int minimum, int maximum, int thumb) { } /** - * Sets the size of the receiver's thumb relative to the - * difference between its maximum and minimum values. This new - * value will be ignored if it is less than one, and will be + * Sets the thumb value. The thumb value should be used to represent + * the size of the visual portion of the current range. This value is + * usually the same as the page increment value. + * <p> + * This new value will be ignored if it is less than one, and will be * clamped if it exceeds the receiver's current range. + * </p> * * @param value the new thumb value, which must be at least one and not * larger than the size of the current range |