java.lang.Object | |
↳ | sun.awt.GlobalCursorManager |
A stateless class which responds to native mouse moves, Component resizes, Component moves, showing and hiding of Components, minimizing and maximizing of top level Windows, addition and removal of Components, and calls to setCursor().
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should be called in response to Java MOUSE_MOVED events.
| |||||||||||
Should be called for any activity at the Java level which may affect
the global cursor, except for Java MOUSE_MOVED events.
| |||||||||||
Should be called in response to a native mouse enter or native mouse
button released message.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the most specific, visible, heavyweight Component
under the cursor.
| |||||||||||
Returns the global cursor position, in screen coordinates.
| |||||||||||
Set the global cursor to the specified cursor.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Should be called in response to Java MOUSE_MOVED events. The update will be discarded if the InputEvent is outdated.
e | the InputEvent which triggered the cursor update. |
---|
Should be called for any activity at the Java level which may affect the global cursor, except for Java MOUSE_MOVED events.
Should be called in response to a native mouse enter or native mouse button released message. Should not be called during a mouse drag.
Returns the most specific, visible, heavyweight Component under the cursor. This method should return null iff the cursor is not over any Java Window.
useCache | If true, the implementation is free to use caching mechanisms because the Z-order, visibility, and enabled state of the Components has not changed. If false, the implementation should not make these assumptions. |
---|
Returns the global cursor position, in screen coordinates.
Set the global cursor to the specified cursor. The component over which the Cursor current resides is provided as a convenience. Not all platforms may require the Component.