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/Menu.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/Menu.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java index 26244bcfcd..b6c91dcd65 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java @@ -18,12 +18,14 @@ import org.eclipse.swt.graphics.*; * menu items. * <dl> * <dt><b>Styles:</b></dt> - * <dd>BAR, DROP_DOWN, POP_UP</dd> + * <dd>BAR, DROP_DOWN, POP_UP, NO_RADIO_GROUP</dd> + * <dd>LEFT_TO_RIGHT, RIGHT_TO_LEFT</dd> * <dt><b>Events:</b></dt> * <dd>Help, Hide, Show </dd> * </dl> * <p> * Note: Only one of BAR, DROP_DOWN and POP_UP may be specified. + * Only one of LEFT_TO_RIGHT or RIGHT_TO_LEFT may be specified. * </p><p> * IMPORTANT: This class is <em>not</em> intended to be subclassed. * </p> @@ -292,6 +294,8 @@ public Display getDisplay () { * <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> + * + * @see #isEnabled */ public boolean getEnabled () { checkWidget(); @@ -750,6 +754,26 @@ public void setLocation (int x, int y) { hasLocation = true; } +/** + * Sets the receiver's location to the point specified by + * the arguments which are relative to the display. + * <p> + * Note: This is different from most widgets where the + * location of the widget is relative to the parent. + * </p> + * + * @param location the new location for the receiver + * + * @exception IllegalArgumentException <ul> + * <li>ERROR_NULL_ARGUMENT - if the point 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> + * + * @since 2.1 + */ public void setLocation (Point location) { checkWidget(); if (location == null) error (SWT.ERROR_NULL_ARGUMENT); |