| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private long | |
| private long | |
| private ByteBuffer | |
| protected long | |
| private static X | |
| protected long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Size | getBestSize()
Implements abstract com. Returns the preferred size of a native cursor. |
| pack-priv void | setHotSpot(int
the X offset of the hot spot hotspotX, int the Y offset of the hot spot. hotspotY)Implements abstract com. Sets the offset of the cursor's hot spot within the cursor image The hot spot offsets default to 0, 0. |
| pack-priv void | setImage(byte[]
the cursor image, in BYTE_BGRA_PRE format cursorImage)Implements abstract com. Set the cursor image to the requested bytes |
| pack-priv void | setLocation(int
the new X location on the screen x, int the new Y location on the screen y)Implements abstract com. For the X11 cursor, we don't do anything to move the cursor - X handles it for us |
| pack-priv void | setVisibility(boolean
the new setting for the cursor's visibility. visibility)Implements abstract com. Set the cursor according to the current visibility and requested visibility |
| pack-priv void | shutdown()
Implements abstract com. Performs any necessary shutdown of the cursor infrastructure. |
| CURSOR_HEIGHT | back to summary |
|---|---|
| private static final int CURSOR_HEIGHT | |
| CURSOR_WIDTH | back to summary |
|---|---|
| private static final int CURSOR_WIDTH | |
| pixmap | back to summary |
|---|---|
| private long pixmap | |
| transparentCursor | back to summary |
|---|---|
| private long transparentCursor | |
| transparentCursorBuffer | back to summary |
|---|---|
| private ByteBuffer transparentCursorBuffer | |
| xdisplay | back to summary |
|---|---|
| protected long xdisplay | |
| xLib | back to summary |
|---|---|
| private static X xLib | |
| xwindow | back to summary |
|---|---|
| protected long xwindow | |
| X11Cursor | back to summary |
|---|---|
| pack-priv X11Cursor() | |
| getBestSize | back to summary |
|---|---|
| pack-priv Size getBestSize() Implements abstract com. Doc from com. Returns the preferred size of a native cursor.
| |
| setHotSpot | back to summary |
|---|---|
| pack-priv void setHotSpot(int hotspotX, int hotspotY) Implements abstract com. Doc from com. Sets the offset of the cursor's hot spot within the cursor image The hot spot offsets default to 0, 0.
| |
| setImage | back to summary |
|---|---|
| pack-priv void setImage(byte[] cursorImage) Implements abstract com. Set the cursor image to the requested bytes
| |
| setLocation | back to summary |
|---|---|
| pack-priv void setLocation(int x, int y) Implements abstract com. For the X11 cursor, we don't do anything to move the cursor - X handles it for us
| |
| setVisibility | back to summary |
|---|---|
| pack-priv void setVisibility(boolean visibility) Implements abstract com. Set the cursor according to the current visibility and requested visibility
| |
| shutdown | back to summary |
|---|---|
| pack-priv void shutdown() Implements abstract com. Doc from com. Performs any necessary shutdown of the cursor infrastructure. Called only once.
| |