| Modifier and Type | Field and Description |
|---|---|
| private ByteBuffer | |
| private int | |
| private int | |
| private int | |
| private int |
| 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 Buffer | |
| pack-priv int | |
| pack-priv int | |
| 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. Sets the cursor image |
| 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. Sets the location of the hot spot of the cursor on the screen |
| pack-priv void | setVisibility(boolean
the new setting for the cursor's visibility. visibility)Implements abstract com. Sets whether or not the cursor is visible. |
| pack-priv void | shutdown()
Implements abstract com. Performs any necessary shutdown of the cursor infrastructure. |
| cursorBuffer | back to summary |
|---|---|
| private ByteBuffer cursorBuffer | |
| hotspotX | back to summary |
|---|---|
| private int hotspotX | |
| hotspotY | back to summary |
|---|---|
| private int hotspotY | |
| renderX | back to summary |
|---|---|
| private int renderX | |
| renderY | back to summary |
|---|---|
| private int renderY | |
| SoftwareCursor | back to summary |
|---|---|
| pack-priv SoftwareCursor() | |
| getBestSize | back to summary |
|---|---|
| pack-priv Size getBestSize() Implements abstract com. Doc from com. Returns the preferred size of a native cursor.
| |
| getCursorBuffer | back to summary |
|---|---|
| pack-priv Buffer getCursorBuffer() | |
| getRenderX | back to summary |
|---|---|
| pack-priv int getRenderX() | |
| getRenderY | back to summary |
|---|---|
| pack-priv int getRenderY() | |
| 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. Doc from com. Sets the cursor image
| |
| setLocation | back to summary |
|---|---|
| pack-priv void setLocation(int x, int y) Implements abstract com. Doc from com. Sets the location of the hot spot of the cursor on the screen
| |
| setVisibility | back to summary |
|---|---|
| pack-priv void setVisibility(boolean visibility) Implements abstract com. Doc from com. Sets whether or not the cursor is visible. The implementation should set the isVisible field. On success the isVisible field is set to the visibility parameter.
| |
| 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.
| |