summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
diff options
context:
space:
mode:
authorCarolyn MacLeod <carolyn>2005-06-22 23:25:22 +0000
committerCarolyn MacLeod <carolyn>2005-06-22 23:25:22 +0000
commitd3fc5580aecd2c59be0ee57018a597315d747dda (patch)
tree33a1adaeeacdca1c0c384e6a637d22b759d4b7ee /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
parent9d15374a15440713922dbd7d2e04fcc36ec25dcc (diff)
downloadeclipse.platform.swt-d3fc5580aecd2c59be0ee57018a597315d747dda.tar.gz
eclipse.platform.swt-d3fc5580aecd2c59be0ee57018a597315d747dda.tar.xz
eclipse.platform.swt-d3fc5580aecd2c59be0ee57018a597315d747dda.zip
After initial JavadocBash for 3.1 RC4AFTER_JAVADOC_BASH_FOR_31RC4
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java21
1 files changed, 13 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
index dd0de648d3..356e3149c4 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
@@ -186,7 +186,7 @@ public void addHelpListener (HelpListener listener) {
/**
* Adds the listener to the collection of listeners who will
- * be notified when the control is selected, by sending
+ * be notified when the menu item is selected, by sending
* it one of the messages defined in the <code>SelectionListener</code>
* interface.
* <p>
@@ -277,11 +277,13 @@ void fixMenus (Decorations newParent) {
}
/**
- * Return the widget accelerator. An accelerator is the bit-wise
+ * Returns the widget accelerator. An accelerator is the bit-wise
* OR of zero or more modifier masks and a key. Examples:
* <code>SWT.CONTROL | SWT.SHIFT | 'T', SWT.ALT | SWT.F2</code>.
+ * The default value is zero, indicating that the menu item does
+ * not have an accelerator.
*
- * @return the accelerator
+ * @return the accelerator or 0
*
* </ul>
* @exception SWTException <ul>
@@ -318,7 +320,7 @@ int /*long*/ getAccelGroup () {
/**
* Returns <code>true</code> if the receiver is enabled, and
- * <code>false</code> otherwise. A disabled control is typically
+ * <code>false</code> otherwise. A disabled menu item is typically
* not selectable from the user interface and draws with an
* inactive or "grayed" look.
*
@@ -460,7 +462,7 @@ void hookEvents () {
/**
* Returns <code>true</code> if the receiver is enabled and all
* of the receiver's ancestors are enabled, and <code>false</code>
- * otherwise. A disabled control is typically not selectable from the
+ * otherwise. A disabled menu item is typically not selectable from the
* user interface and draws with an inactive or "grayed" look.
*
* @return the receiver's enabled state
@@ -593,6 +595,8 @@ void selectRadio () {
* OR of zero or more modifier masks and a key. Examples:
* <code>SWT.MOD1 | SWT.MOD2 | 'T', SWT.MOD3 | SWT.F2</code>.
* <code>SWT.CONTROL | SWT.SHIFT | 'T', SWT.ALT | SWT.F2</code>.
+ * The default value is zero, indicating that the menu item does
+ * not have an accelerator.
*
* @param accelerator an integer that is the bit-wise OR of masks and a key
*
@@ -613,7 +617,7 @@ public void setAccelerator (int accelerator) {
/**
* Enables the receiver if the argument is <code>true</code>,
- * and disables it otherwise. A disabled control is typically
+ * and disables it otherwise. A disabled menu item is typically
* not selectable from the user interface and draws with an
* inactive or "grayed" look.
*
@@ -636,8 +640,9 @@ public void setEnabled (boolean enabled) {
/**
* Sets the image the receiver will display to the argument.
* <p>
- * Note: This feature is not available on all window systems (for example, Window NT),
- * in which case, calling this method will silently do nothing.
+ * Note: This operation is a hint and is not supported on
+ * platforms that do not have this concept (for example, Windows NT).
+ * </p>
*
* @param image the image to display
*