diff options
author | Felipe Heidrich <fheidric> | 2007-09-25 20:36:25 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2007-09-25 20:36:25 +0000 |
commit | fc9d41fe5d52e415f1c668b97590de1719ae499c (patch) | |
tree | c6419ee79dd28dd761a40901d037864d3bb2dcfd /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java | |
parent | aa9f032c97ee642fe99e38094f060b15b21ae19b (diff) | |
download | eclipse.platform.swt-fc9d41fe5d52e415f1c668b97590de1719ae499c.tar.gz eclipse.platform.swt-fc9d41fe5d52e415f1c668b97590de1719ae499c.tar.xz eclipse.platform.swt-fc9d41fe5d52e415f1c668b97590de1719ae499c.zip |
remove setOffset/getOffset from Caret
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java index 989914561f..e720bb2183 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java @@ -38,7 +38,6 @@ public class Caret extends Widget { Image image; Font font; LOGFONT oldFont; - int offset; /** * Constructs a new instance of this class given its parent @@ -172,11 +171,6 @@ public Point getLocation () { return new Point (x, y); } -public int getOffset () { - checkWidget (); - return offset; -} - /** * Returns the receiver's parent, which must be a <code>Canvas</code>. * @@ -527,23 +521,6 @@ public void setLocation (Point location) { } /** - * Sets the receiver's offset. - * - * @param offset the new offset for the receiver. - * - * @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.4 - */ -public void setOffset (int offset) { - checkWidget (); - this.offset = Math.max (0, offset); -} - -/** * Sets the receiver's size to the point specified by the arguments. * * @param width the new width for the receiver |