diff options
author | Carolyn MacLeod <carolyn> | 2010-05-26 17:58:56 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2010-05-26 17:58:56 +0000 |
commit | 0f960e0b213854d19299aaa9b453b69c8d7ee794 (patch) | |
tree | 4ee2be0a3b8b821c15859cb8b9359d908978f4c3 /bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java | |
parent | 15bb116304bc8aeea45302e2a4ff1e9abf3dd426 (diff) | |
download | eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.tar.gz eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.tar.xz eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.zip |
Bug 314492 - Do the annual copyright/javadoc bashAFTER_JAVADOC_BASH_FOR_36RC3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java index 1fcd663a9d..a74de593d8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java @@ -674,6 +674,18 @@ void setFontStyle (Font font) { * include the mnemonic character and line delimiters. The only delimiter * the HREF attribute supports is the quotation mark ("). * </p> + * <p> + * Mnemonics are indicated by an '&' that causes the next + * character to be the mnemonic. The receiver can have a + * mnemonic in the text preceding each link. When the user presses a + * key sequence that matches the mnemonic, focus is assigned + * to the link that follows the text. Mnemonics in links and in + * the trailing text are ignored. 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 * |