summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2007-09-25 20:36:25 +0000
committerFelipe Heidrich <fheidric>2007-09-25 20:36:25 +0000
commitfc9d41fe5d52e415f1c668b97590de1719ae499c (patch)
treec6419ee79dd28dd761a40901d037864d3bb2dcfd /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java
parentaa9f032c97ee642fe99e38094f060b15b21ae19b (diff)
downloadeclipse.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-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java23
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