Package org.eclipse.draw2d
Class Cursors
java.lang.Object
org.eclipse.draw2d.Cursors
A collection of cursors.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursorstatic final Cursor
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic CursorgetDirectionalCursor(int direction) Returns the cursor corresponding to the given direction, defined inPositionConstants.static CursorgetDirectionalCursor(int direction, boolean isMirrored) Returns the cursor corresponding to the given direction and mirroring.
- 
Field Details- 
ARROW- See Also:
 
- 
SIZEN- See Also:
 
- 
SIZENE- See Also:
 
- 
SIZEE- See Also:
 
- 
SIZESE- See Also:
 
- 
SIZES- See Also:
 
- 
SIZESW- See Also:
 
- 
SIZEW- See Also:
 
- 
SIZENW- See Also:
 
- 
APPSTARTING- See Also:
 
- 
CROSS- See Also:
 
- 
HAND- See Also:
 
- 
HELP- See Also:
 
- 
IBEAM- See Also:
 
- 
NO- See Also:
 
- 
SIZEALL- See Also:
 
- 
SIZENESW- See Also:
 
- 
SIZENWSE- See Also:
 
- 
SIZEWE- See Also:
 
- 
SIZENS- See Also:
 
- 
UPARROW- See Also:
 
- 
WAIT- See Also:
 
 
- 
- 
Constructor Details- 
Cursorspublic Cursors()
 
- 
- 
Method Details- 
getDirectionalCursorReturns the cursor corresponding to the given direction, defined inPositionConstants. Note thatgetDirectionalCursor(int, boolean)should be used for applications which want to run properly when running in a mirrored environment. The behavior is the same as callinggetDirectionalCursor(direction, false).- Parameters:
- direction- the relative direction of the desired cursor
- Returns:
- The appropriate directional cursor
 
- 
getDirectionalCursorReturns the cursor corresponding to the given direction and mirroring. The direction must be one of:- PositionConstants.NORTH
- PositionConstants.SOUTH
- PositionConstants.EAST
- PositionConstants.WEST
- PositionConstants.NORTH_EAST
- PositionConstants.NORTH_WEST
- PositionConstants.SOUTH_EAST
- PositionConstants.SOUTH_WEST
 The behavior is undefined for other values. If isMirroredis set totrue, EAST and WEST will be inverted.- Parameters:
- direction- the relative direction of the desired cursor
- isMirrored-- trueif EAST and WEST should be inverted
- Returns:
- The appropriate directional cursor
 
 
-