diff options
author | Veronika Irvine <veronika> | 2003-03-05 20:22:50 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2003-03-05 20:22:50 +0000 |
commit | a141372c690da91b7eb11f2c4f750ad983b5818b (patch) | |
tree | 1fa897fe92d2f0b018c17fe187486f7ccd02540a /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java | |
parent | 0f7899630048b66d65fa2cf085873c1d42a04710 (diff) | |
download | eclipse.platform.swt-a141372c690da91b7eb11f2c4f750ad983b5818b.tar.gz eclipse.platform.swt-a141372c690da91b7eb11f2c4f750ad983b5818b.tar.xz eclipse.platform.swt-a141372c690da91b7eb11f2c4f750ad983b5818b.zip |
Bashing JavadocAFTER_JAVADOC_BASH
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java index b1b55d03c2..217fd53000 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java @@ -231,6 +231,32 @@ public void setImage (Image image) { parent.fixPage (); } +/** + * Sets the receiver's text. The string may include + * the mnemonic character. + * </p> + * <p> + * Mnemonics are indicated by an '&' that causes the next + * character to be the mnemonic. When the user presses a + * key sequence that matches the mnemonic, a selection + * event occurs. On most platforms, the mnemonic appears + * underlined but may be emphasised in a platform specific + * manner. The mnemonic indicator character '&' can be + * escaped by doubling it in the string, causing a single + *'&' to be displayed. + * </p> + * + * @param string the new text + * + * @exception IllegalArgumentException <ul> + * <li>ERROR_NULL_ARGUMENT - if the text is null</li> + * </ul> + * @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> + * + */ public void setText (String string) { checkWidget (); if (string == null) error (SWT.ERROR_NULL_ARGUMENT); |