| java.lang.Object org.eclipse.ui.internal.DragCursors
DragCursors | public class DragCursors (Code) | | Provides the set of cursors used for drag-and-drop.
|
Field Summary | |
final public static int | BOTTOM | final public static int | CENTER | final public static int | FASTVIEW | final public static int | INVALID | final public static int | LEFT | final public static int | OFFSCREEN | final public static int | RIGHT | final public static int | TOP |
Method Summary | |
public static void | dispose() Disposes all drag-and-drop cursors. | public static int | dragCursorToSwtConstant(int dragCursorId) | public static Cursor | getCursor(int code) Return the cursor for a drop scenario, as identified by code. | public static int | positionToDragCursor(int swtPositionConstant) |
BOTTOM | final public static int BOTTOM(Code) | | |
CENTER | final public static int CENTER(Code) | | |
FASTVIEW | final public static int FASTVIEW(Code) | | |
INVALID | final public static int INVALID(Code) | | |
LEFT | final public static int LEFT(Code) | | |
OFFSCREEN | final public static int OFFSCREEN(Code) | | |
RIGHT | final public static int RIGHT(Code) | | |
TOP | final public static int TOP(Code) | | |
dispose | public static void dispose()(Code) | | Disposes all drag-and-drop cursors.
|
dragCursorToSwtConstant | public static int dragCursorToSwtConstant(int dragCursorId)(Code) | | Converts a drag cursor (LEFT, RIGHT, TOP, BOTTOM, CENTER) into an SWT constant
(SWT.LEFT, SWT.RIGHT, SWT.TOP, SWT.BOTTOM, SWT.CENTER)
Parameters: dragCursorId - an SWT.* constant |
getCursor | public static Cursor getCursor(int code)(Code) | | Return the cursor for a drop scenario, as identified by code.
Code must be one of INVALID, LEFT, RIGHT, TOP, etc.
If the code is not found default to INVALID.
|
positionToDragCursor | public static int positionToDragCursor(int swtPositionConstant)(Code) | | |
|
|