| Modifier and Type | Field and Description |
|---|---|
| protected boolean | isVisible
Is the cursor currently visible? |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract Size | |
| pack-priv boolean | Returns: trueif the cursor is visible, false otherwise.Queries whether or not the cursor is visible |
| pack-priv abstract void | setHotSpot(int
the X offset of the hot spot hotspotX, int the Y offset of the hot spot. hotspotY)Sets the offset of the cursor's hot spot within the cursor image The hot spot offsets default to 0, 0. |
| pack-priv abstract void | |
| pack-priv abstract void | setLocation(int
the new X location on the screen x, int the new Y location on the screen y)Sets the location of the hot spot of the cursor on the screen |
| pack-priv abstract void | setVisibility(boolean
the new setting for the cursor's visibility. visibility)Sets whether or not the cursor is visible. |
| pack-priv abstract void |
| isVisible | back to summary |
|---|---|
| protected boolean isVisible Is the cursor currently visible? | |
| NativeCursor | back to summary |
|---|---|
| pack-priv NativeCursor() | |
| getBestSize | back to summary |
|---|---|
| pack-priv abstract Size getBestSize() Returns the preferred size of a native cursor. | |
| getVisiblity | back to summary |
|---|---|
| pack-priv boolean getVisiblity() Queries whether or not the cursor is visible
| |
| setHotSpot | back to summary |
|---|---|
| pack-priv abstract void setHotSpot(int hotspotX, int hotspotY) 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 abstract void setImage(byte[] cursorImage) Sets the cursor image
| |
| setLocation | back to summary |
|---|---|
| pack-priv abstract void setLocation(int x, int y) Sets the location of the hot spot of the cursor on the screen
| |
| setVisibility | back to summary |
|---|---|
| pack-priv abstract void setVisibility(boolean visibility) 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 abstract void shutdown() Performs any necessary shutdown of the cursor infrastructure. Called only once. | |