org.eclipse.draw2d
Class Cursors

java.lang.Object
  extended byorg.eclipse.draw2d.Cursors

public class Cursors
extends java.lang.Object

A collection of cursors.


Field Summary
static org.eclipse.swt.graphics.Cursor APPSTARTING
           
static org.eclipse.swt.graphics.Cursor ARROW
           
static org.eclipse.swt.graphics.Cursor CROSS
           
static org.eclipse.swt.graphics.Cursor HAND
           
static org.eclipse.swt.graphics.Cursor HELP
           
static org.eclipse.swt.graphics.Cursor IBEAM
           
static org.eclipse.swt.graphics.Cursor NO
           
static org.eclipse.swt.graphics.Cursor SIZEALL
           
static org.eclipse.swt.graphics.Cursor SIZEE
           
static org.eclipse.swt.graphics.Cursor SIZEN
           
static org.eclipse.swt.graphics.Cursor SIZENE
           
static org.eclipse.swt.graphics.Cursor SIZENESW
           
static org.eclipse.swt.graphics.Cursor SIZENS
           
static org.eclipse.swt.graphics.Cursor SIZENW
           
static org.eclipse.swt.graphics.Cursor SIZENWSE
           
static org.eclipse.swt.graphics.Cursor SIZES
           
static org.eclipse.swt.graphics.Cursor SIZESE
           
static org.eclipse.swt.graphics.Cursor SIZESW
           
static org.eclipse.swt.graphics.Cursor SIZEW
           
static org.eclipse.swt.graphics.Cursor SIZEWE
           
static org.eclipse.swt.graphics.Cursor UPARROW
           
static org.eclipse.swt.graphics.Cursor WAIT
           
 
Constructor Summary
Cursors()
           
 
Method Summary
static org.eclipse.swt.graphics.Cursor getDirectionalCursor(int direction)
          Returns the cursor corresponding to the given direction, defined in PositionConstants.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARROW

public static final org.eclipse.swt.graphics.Cursor ARROW
See Also:
SWT.CURSOR_ARROW

SIZEN

public static final org.eclipse.swt.graphics.Cursor SIZEN
See Also:
SWT.CURSOR_SIZEN

SIZENE

public static final org.eclipse.swt.graphics.Cursor SIZENE
See Also:
SWT.CURSOR_SIZENE

SIZEE

public static final org.eclipse.swt.graphics.Cursor SIZEE
See Also:
SWT.CURSOR_SIZEE

SIZESE

public static final org.eclipse.swt.graphics.Cursor SIZESE
See Also:
SWT.CURSOR_SIZESE

SIZES

public static final org.eclipse.swt.graphics.Cursor SIZES
See Also:
SWT.CURSOR_SIZES

SIZESW

public static final org.eclipse.swt.graphics.Cursor SIZESW
See Also:
SWT.CURSOR_SIZESW

SIZEW

public static final org.eclipse.swt.graphics.Cursor SIZEW
See Also:
SWT.CURSOR_SIZEW

SIZENW

public static final org.eclipse.swt.graphics.Cursor SIZENW
See Also:
SWT.CURSOR_SIZENW

APPSTARTING

public static final org.eclipse.swt.graphics.Cursor APPSTARTING
See Also:
SWT.CURSOR_APPSTARTING

CROSS

public static final org.eclipse.swt.graphics.Cursor CROSS
See Also:
SWT.CURSOR_CROSS

HAND

public static final org.eclipse.swt.graphics.Cursor HAND
See Also:
SWT.CURSOR_HAND

HELP

public static final org.eclipse.swt.graphics.Cursor HELP
See Also:
SWT.CURSOR_HELP

IBEAM

public static final org.eclipse.swt.graphics.Cursor IBEAM
See Also:
SWT.CURSOR_IBEAM

NO

public static final org.eclipse.swt.graphics.Cursor NO
See Also:
SWT.CURSOR_NO

SIZEALL

public static final org.eclipse.swt.graphics.Cursor SIZEALL
See Also:
SWT.CURSOR_SIZEALL

SIZENESW

public static final org.eclipse.swt.graphics.Cursor SIZENESW
See Also:
SWT.CURSOR_SIZENESW

SIZENWSE

public static final org.eclipse.swt.graphics.Cursor SIZENWSE
See Also:
SWT.CURSOR_SIZENWSE

SIZEWE

public static final org.eclipse.swt.graphics.Cursor SIZEWE
See Also:
SWT.CURSOR_SIZEWE

SIZENS

public static final org.eclipse.swt.graphics.Cursor SIZENS
See Also:
SWT.CURSOR_SIZENS

UPARROW

public static final org.eclipse.swt.graphics.Cursor UPARROW
See Also:
SWT.CURSOR_UPARROW

WAIT

public static final org.eclipse.swt.graphics.Cursor WAIT
See Also:
SWT.CURSOR_WAIT
Constructor Detail

Cursors

public Cursors()
Method Detail

getDirectionalCursor

public static org.eclipse.swt.graphics.Cursor getDirectionalCursor(int direction)
Returns the cursor corresponding to the given direction, defined in PositionConstants.

Parameters:
direction - The relative direction of the desired cursor
Returns:
The appropriate directional cursor