diff options
author | Carolyn MacLeod <carolyn> | 2011-05-09 17:12:22 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2011-05-09 17:12:22 +0000 |
commit | 0c693ec68aa92990fed67d5ac8294b0904382aa6 (patch) | |
tree | b59636fb131d9237001b502c89ac93b81a964fdf /bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java | |
parent | d05fd93fefebb6bc1d07ca12de432d36944a8740 (diff) | |
download | eclipse.platform.swt-0c693ec68aa92990fed67d5ac8294b0904382aa6.tar.gz eclipse.platform.swt-0c693ec68aa92990fed67d5ac8294b0904382aa6.tar.xz eclipse.platform.swt-0c693ec68aa92990fed67d5ac8294b0904382aa6.zip |
After javadoc bash for 3.7RC1AFTER_JAVADOC_BASH_FOR_37RC1
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java index 5b4fd26cf8..e1957d2ef9 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java @@ -514,6 +514,19 @@ String getNameText () { return result; } +/** + * Returns the orientation of the receiver, which will be one of the + * constants <code>SWT.LEFT_TO_RIGHT</code> or <code>SWT.RIGHT_TO_LEFT</code>. + * + * @return the orientation style + * + * @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 3.7 + */ public int getOrientation () { checkWidget (); return style & (SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT); @@ -877,6 +890,20 @@ public void setLocation (Point location) { setLocation (location.x, location.y); } +/** + * Sets the orientation of the receiver, which must be one + * of the constants <code>SWT.LEFT_TO_RIGHT</code> or <code>SWT.RIGHT_TO_LEFT</code>. + * <p> + * + * @param orientation new orientation style + * + * @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 3.7 + */ public void setOrientation (int orientation) { checkWidget (); } |