summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2005-06-22 17:01:17 +0000
committerGrant Gayed <ggayed>2005-06-22 17:01:17 +0000
commitc4a1608b1f7d8bf75a1b5e2c74c475e271149870 (patch)
treee3b2306bce09207c4988bc8428349027dc26d98d
parent348385ee296e7bc71c21c5399535dc0e793b8faf (diff)
downloadeclipse.platform.swt-c4a1608b1f7d8bf75a1b5e2c74c475e271149870.tar.gz
eclipse.platform.swt-c4a1608b1f7d8bf75a1b5e2c74c475e271149870.tar.xz
eclipse.platform.swt-c4a1608b1f7d8bf75a1b5e2c74c475e271149870.zip
20448
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
index 149498f5d6..4d8a5967e2 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
@@ -744,6 +744,8 @@ public int getTextHeight () {
* <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 Combo.LIMIT
*/
public int getTextLimit () {
checkWidget ();
@@ -1493,7 +1495,11 @@ public void setText (String string) {
/**
* Sets the maximum number of characters that the receiver's
* text field is capable of holding to be the argument.
- *
+ * <p>
+ * To reset this value to the default, use <code>setTextLimit(Combo.LIMIT)</code>.
+ * Specifying a limit value larger than <code>Combo.LIMIT</code> sets the
+ * receiver's limit to <code>Combo.LIMIT</code>.
+ * </p>
* @param limit new text limit
*
* @exception IllegalArgumentException <ul>
@@ -1503,6 +1509,8 @@ public void setText (String string) {
* <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 Combo.LIMIT
*/
public void setTextLimit (int limit) {
checkWidget ();