summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2003-03-05 19:53:36 +0000
committerVeronika Irvine <veronika>2003-03-05 19:53:36 +0000
commit4803e4a0ef8953139ef5af159b09f1b408582ca8 (patch)
tree307bb994aadb2d7efed234d5b1ee96747a947ada /bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
parent870ada03f3dfb315f46dc516cc217d9405b81db7 (diff)
downloadeclipse.platform.swt-4803e4a0ef8953139ef5af159b09f1b408582ca8.tar.gz
eclipse.platform.swt-4803e4a0ef8953139ef5af159b09f1b408582ca8.tar.xz
eclipse.platform.swt-4803e4a0ef8953139ef5af159b09f1b408582ca8.zip
Bashing Javadoc
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
index 2497daa884..44603e6861 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
@@ -600,6 +600,16 @@ public void setImage (Image image) {
* This method sets the button label. The label may include
* the mnemonic character but must not contain line delimiters.
* </p>
+ * <p>
+ * Mnemonics are indicated by an '&amp' 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 '&amp' can be
+ * escaped by doubling it in the string, causing a single
+ *'&amp' to be displayed.
+ * </p>
*
* @param string the new text
*