diff options
author | Carolyn MacLeod <carolyn> | 2005-06-22 17:56:44 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2005-06-22 17:56:44 +0000 |
commit | b1e7d4d13c74aba3d3e9462213de9f4ab9afed93 (patch) | |
tree | 2124c8a7026ffe62a488de48ab0238cc53dd27b5 | |
parent | ee2752c3563e0c2d7a6bf3d8454cb1f904ee70cc (diff) | |
download | eclipse.platform.swt-b1e7d4d13c74aba3d3e9462213de9f4ab9afed93.tar.gz eclipse.platform.swt-b1e7d4d13c74aba3d3e9462213de9f4ab9afed93.tar.xz eclipse.platform.swt-b1e7d4d13c74aba3d3e9462213de9f4ab9afed93.zip |
doc: bug 84985
5 files changed, 30 insertions, 21 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java index 619c0c288e..213357d5d8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java @@ -112,19 +112,20 @@ public final class FormAttachment { /** * alignment specifies the alignment of the control side that is * attached to a control. + * <p> * For top and bottom attachments, TOP, BOTTOM and CENTER are used. For left * and right attachments, LEFT, RIGHT and CENTER are used. If any other case * occurs, the default will be used instead. + * </p> * - * Possible values are: - * - * TOP: Attach the side to the top side of the specified control. - * BOTTOM : Attach the side to the bottom side of the specified control. - * LEFT: Attach the side to the left side of the specified control. - * RIGHT: Attach the side to the right side of the specified control. - * CENTER: Attach the side at a position which will center the control on - * the specified control. - * DEFAULT: Attach the side to the adjacent side of the specified control. + * <br>Possible values are: <ul> + * <li>TOP: Attach the side to the top side of the specified control.</li> + * <li>BOTTOM : Attach the side to the bottom side of the specified control.</li> + * <li>LEFT: Attach the side to the left side of the specified control.</li> + * <li>RIGHT: Attach the side to the right side of the specified control.</li> + * <li>CENTER: Attach the side at a position which will center the control on the specified control.</li> + * <li>DEFAULT: Attach the side to the adjacent side of the specified control.</li> + * </ul> */ public int alignment; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java index e12142a52e..6b36dc6160 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java @@ -65,7 +65,6 @@ Canvas () { * </ul> * @exception SWTException <ul> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> - * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * </ul> * * @see SWT diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java index 6ebafabc97..aec84a9acc 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java @@ -645,11 +645,16 @@ public int getOrientation () { } /** - * Returns a <code>Point</code> whose x coordinate is the start - * of the selection in the receiver's text field, and whose y - * coordinate is the end of the selection. The returned values - * are zero-relative. An "empty" selection as indicated by - * the the x and y coordinates having the same value. + * Returns a <code>Point</code> whose x coordinate is the + * character position representing the start of the selection + * in the receiver's text field, and whose y coordinate is the + * character position representing the end of the selection. + * An "empty" selection is indicated by the x and y coordinates + * having the same value. + * <p> + * Indexing is zero based. The range of a selection is from + * 0..N where N is the number of characters in the widget. + * </p> * * @return a point representing the selection start and end * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java index 26fa9dc0ed..bf19fbd04c 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java @@ -655,6 +655,7 @@ public void setEnabled (boolean enabled) { * <p> * Note: This feature is not available on all window systems (for example, Windows NT), * in which case, calling this method will do nothing. + * </p> * * @param image the image to display * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java index 74362d5849..a05146654e 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java @@ -728,14 +728,17 @@ public int getOrientation () { } /** - * Returns the position of the selected text. + * Returns a <code>Point</code> whose x coordinate is the + * character position representing the start of the selected + * text, and whose y coordinate is the character position + * representing the end of the selection. An "empty" selection + * is indicated by the x and y coordinates having the same value. * <p> - * Indexing is zero based. The range of - * a selection is from 0..N where N is - * the number of characters in the widget. + * Indexing is zero based. The range of a selection is from + * 0..N where N is the number of characters in the widget. * </p> - * - * @return the start and end of the selection + * + * @return a point representing the selection start and end * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> |