Draw2D v2.0

org.eclipse.draw2d
Class Cursors

java.lang.Object
  |
  +--org.eclipse.draw2d.Cursors

public class Cursors
extends Object

A collection of cursors.


Field Summary
static Cursor APPSTARTING
           
static Cursor ARROW
           
static Cursor CROSS
           
static Cursor HAND
           
static Cursor HELP
           
static Cursor IBEAM
           
static Cursor NO
           
static Cursor SIZEALL
           
static Cursor SIZEE
           
static Cursor SIZEN
           
static Cursor SIZENE
           
static Cursor SIZENESW
           
static Cursor SIZENW
           
static Cursor SIZENWSE
           
static Cursor SIZES
           
static Cursor SIZESE
           
static Cursor SIZESW
           
static Cursor SIZEW
           
static Cursor UPARROW
           
static Cursor WAIT
           
 
Constructor Summary
Cursors()
           
 
Method Summary
static 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 Cursor ARROW

SIZEN

public static final Cursor SIZEN

SIZENE

public static final Cursor SIZENE

SIZEE

public static final Cursor SIZEE

SIZESE

public static final Cursor SIZESE

SIZES

public static final Cursor SIZES

SIZESW

public static final Cursor SIZESW

SIZEW

public static final Cursor SIZEW

SIZENW

public static final Cursor SIZENW

APPSTARTING

public static final Cursor APPSTARTING

CROSS

public static final Cursor CROSS

HAND

public static final Cursor HAND

HELP

public static final Cursor HELP

IBEAM

public static final Cursor IBEAM

NO

public static final Cursor NO

SIZEALL

public static final Cursor SIZEALL

SIZENESW

public static final Cursor SIZENESW

SIZENWSE

public static final Cursor SIZENWSE

UPARROW

public static final Cursor UPARROW

WAIT

public static final Cursor WAIT
Constructor Detail

Cursors

public Cursors()
Method Detail

getDirectionalCursor

public static Cursor getDirectionalCursor(int direction)
Returns the cursor corresponding to the given direction, defined in PositionConstants. public static Cursor checkoutDirectionalCursor(int direction, Object requestor){ return getSharedDirectionalCursor(direction).checkout(requestor); }

Draw2D v2.0