diff options
author | Carolyn MacLeod <carolyn> | 2006-05-03 20:02:09 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2006-05-03 20:02:09 +0000 |
commit | e880a6e84e2c212aad35915a8e501a30b543c4fe (patch) | |
tree | 33caaa46660a67b93663d6f950933dbf725b03f3 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java | |
parent | dd2daaefe7b01d6308af5987fb9008de6a622b64 (diff) | |
download | eclipse.platform.swt-e880a6e84e2c212aad35915a8e501a30b543c4fe.tar.gz eclipse.platform.swt-e880a6e84e2c212aad35915a8e501a30b543c4fe.tar.xz eclipse.platform.swt-e880a6e84e2c212aad35915a8e501a30b543c4fe.zip |
Javadoc basher output for 3.2RC3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java index 30b2f03043..8fe565eeaa 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java @@ -28,7 +28,7 @@ import org.eclipse.swt.events.*; * <dt><b>Events:</b></dt> * <dd>Selection, Modify</dd> * </dl> - * <p> + * </p><p> * IMPORTANT: This class is <em>not</em> intended to be subclassed. * </p> * @@ -922,6 +922,7 @@ public void setSelection (int value) { * a value of 2 and setSelection() with a value of 137. Similarly, if getDigits() has a value * of 2 and getSelection() returns 137 this should be interpreted as 1.37. This applies to all * numeric APIs. + * </p> * * @param value the new digits (must be greater than or equal to zero) * @@ -961,6 +962,29 @@ public void setDigits (int value) { OS.gtk_spin_button_set_digits (handle, value); } +/** + * Sets the receiver's selection, minimum value, maximum + * value, digits, increment and page increment all at once. + * <p> + * Note: This is similar to setting the values individually + * using the appropriate methods, but may be implemented in a + * more efficient fashion on some platforms. + * </p> + * + * @param selection the new selection value + * @param minimum the new minimum value + * @param maximum the new maximum value + * @param digits the new digits value + * @param increment the new increment value + * @param pageIncrement the new pageIncrement value + * + * @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> + * + * @since 3.2 + */ public void setValues (int selection, int minimum, int maximum, int digits, int increment, int pageIncrement) { checkWidget (); if (minimum < 0) return; |