diff options
author | Veronika Irvine <veronika> | 2003-03-05 19:53:36 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2003-03-05 19:53:36 +0000 |
commit | 4803e4a0ef8953139ef5af159b09f1b408582ca8 (patch) | |
tree | 307bb994aadb2d7efed234d5b1ee96747a947ada /bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java | |
parent | 870ada03f3dfb315f46dc516cc217d9405b81db7 (diff) | |
download | eclipse.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-x | bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java | 10 |
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 '&' 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 * |