Cursor.this

Constructs a new cursor given a device and a style constant describing the desired cursor appearance. <p> You must dispose the cursor when it is no longer required. </p>

@param device the device on which to allocate the cursor @param style the style of cursor to allocate

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> <li>ERROR_INVALID_ARGUMENT - when an unknown style is specified</li> </ul> @exception SWTError <ul> <li>ERROR_NO_HANDLES - if a handle could not be obtained for cursor creation</li> </ul>

@see SWT#CURSOR_ARROW @see SWT#CURSOR_WAIT @see SWT#CURSOR_CROSS @see SWT#CURSOR_APPSTARTING @see SWT#CURSOR_HELP @see SWT#CURSOR_SIZEALL @see SWT#CURSOR_SIZENESW @see SWT#CURSOR_SIZENS @see SWT#CURSOR_SIZENWSE @see SWT#CURSOR_SIZEWE @see SWT#CURSOR_SIZEN @see SWT#CURSOR_SIZES @see SWT#CURSOR_SIZEE @see SWT#CURSOR_SIZEW @see SWT#CURSOR_SIZENE @see SWT#CURSOR_SIZESE @see SWT#CURSOR_SIZESW @see SWT#CURSOR_SIZENW @see SWT#CURSOR_UPARROW @see SWT#CURSOR_IBEAM @see SWT#CURSOR_NO @see SWT#CURSOR_HAND

Meta