| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private long | |
| private final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract long | |
| public static Size | |
| protected final long | |
| public final int | |
| public static void |
| CURSOR_CLOSED_HAND | back to summary |
|---|---|
| public static final int CURSOR_CLOSED_HAND
| |
| CURSOR_CROSSHAIR | back to summary |
|---|---|
| public static final int CURSOR_CROSSHAIR
| |
| CURSOR_CUSTOM | back to summary |
|---|---|
| public static final int CURSOR_CUSTOM
| |
| CURSOR_DEFAULT | back to summary |
|---|---|
| public static final int CURSOR_DEFAULT
| |
| CURSOR_DISAPPEAR | back to summary |
|---|---|
| public static final int CURSOR_DISAPPEAR
| |
| CURSOR_MAX | back to summary |
|---|---|
| private static final int CURSOR_MAX | |
| CURSOR_MOVE | back to summary |
|---|---|
| public static final int CURSOR_MOVE
| |
| CURSOR_NONE | back to summary |
|---|---|
| public static final int CURSOR_NONE
| |
| CURSOR_OPEN_HAND | back to summary |
|---|---|
| public static final int CURSOR_OPEN_HAND
| |
| CURSOR_POINTING_HAND | back to summary |
|---|---|
| public static final int CURSOR_POINTING_HAND
| |
| CURSOR_RESIZE_DOWN | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_DOWN
| |
| CURSOR_RESIZE_LEFT | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_LEFT
| |
| CURSOR_RESIZE_LEFTRIGHT | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_LEFTRIGHT
| |
| CURSOR_RESIZE_NORTHEAST | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_NORTHEAST
| |
| CURSOR_RESIZE_NORTHWEST | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_NORTHWEST
| |
| CURSOR_RESIZE_RIGHT | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_RIGHT
| |
| CURSOR_RESIZE_SOUTHEAST | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_SOUTHEAST
| |
| CURSOR_RESIZE_SOUTHWEST | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_SOUTHWEST
| |
| CURSOR_RESIZE_UP | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_UP
| |
| CURSOR_RESIZE_UPDOWN | back to summary |
|---|---|
| public static final int CURSOR_RESIZE_UPDOWN
| |
| CURSOR_TEXT | back to summary |
|---|---|
| public static final int CURSOR_TEXT
| |
| CURSOR_WAIT | back to summary |
|---|---|
| public static final int CURSOR_WAIT
| |
| ptr | back to summary |
|---|---|
| private long ptr | |
| type | back to summary |
|---|---|
| private final int type | |
| Cursor | back to summary |
|---|---|
| protected Cursor(final int type) | |
| Cursor | back to summary |
|---|---|
| protected Cursor(final int x, final int y, final Pixels pixels) | |
| _createCursor | back to summary |
|---|---|
| protected abstract long _createCursor(int x, int y, Pixels pixels) | |
| getBestSize | back to summary |
|---|---|
| public static Size getBestSize(int width, int height) Returns the 'best' cursor size based on the given preferred size. | |
| getNativeCursor | back to summary |
|---|---|
| protected final long getNativeCursor() | |
| getType | back to summary |
|---|---|
| public final int getType() | |
| setVisible | back to summary |
|---|---|
| public static void setVisible(boolean visible) Shows or hides the cursor.
If the cursor is currently hidden with a previous call to If the mouse cursor is located over a non-Glass window at the time of calling this method, the call may or may not affect the native cursor's visibility. This behavior is platform-dependent.
When the mouse pointer is moved over a non-Glass window, depending on
the native platform behavior, the cursor may or may not become visible
on the screen, even if it was previously hidden by calling
Calling this method multiple times with the same argument may not have
any effect. For example, if the cursor was hidden and the native OS
restored its visibility, calling | |