diff options
author | Grant Gayed <ggayed> | 2004-11-25 16:05:07 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2004-11-25 16:05:07 +0000 |
commit | 51c0e42a9b1adccc5ae98576dde7fcf4285e6bf4 (patch) | |
tree | fddc0d940694c47af969e94be8149e71a407ebb6 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics | |
parent | 091665570745aef222f626bdb7bde8ef106df286 (diff) | |
download | eclipse.platform.swt-51c0e42a9b1adccc5ae98576dde7fcf4285e6bf4.tar.gz eclipse.platform.swt-51c0e42a9b1adccc5ae98576dde7fcf4285e6bf4.tar.xz eclipse.platform.swt-51c0e42a9b1adccc5ae98576dde7fcf4285e6bf4.zip |
javadoc
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java index 6cfb054716..467ab7fb8d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java @@ -396,6 +396,9 @@ public void dispose () { * @exception SWTException <ul> * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> * </ul> + * @exception IllegalArgumentException <ul> + * <li>ERROR_NULL_ARGUMENT - if the gc is null</li> + * </ul> */ public void draw (GC gc, int x, int y) { draw(gc, x, y, -1, -1, null, null); @@ -416,6 +419,9 @@ public void draw (GC gc, int x, int y) { * @exception SWTException <ul> * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> * </ul> + * @exception IllegalArgumentException <ul> + * <li>ERROR_NULL_ARGUMENT - if the gc is null</li> + * </ul> */ public void draw (GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground) { checkLayout(); @@ -1131,6 +1137,7 @@ int _getOffset(int offset, int movement, boolean forward) { * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the trailing length is less than <code>1</code></li> + * <li>ERROR_NULL_ARGUMENT - if the point is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> |