| Modifier and Type | Field and Description |
|---|---|
| private static XGlobalCursorManager | manager
The XGlobalCursorManager is a singleton. |
| private WeakReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Component | |
| protected Component | findHeavyweightUnderCursor(boolean useCache)
Implements abstract sun. Returns the most specific, visible, heavyweight Component under the cursor. |
| private Cursor | |
| pack-priv static long | |
| pack-priv static GlobalCursorManager | |
| protected void | getCursorPos(Point p)
Implements abstract sun. Returns the global cursor position, in screen coordinates. |
| protected Point | getLocationOnScreen(Component c)
Implements abstract sun.
|
| pack-priv static void | nativeUpdateCursor(Component heavy)
Should be called in response to a native mouse enter or native mouse button released message. |
| protected void | setCursor(Component comp, Cursor cursor, boolean useCache)
Implements abstract sun. Set the global cursor to the specified cursor. |
| pack-priv static void | |
| protected void | |
| private static void | updateGrabbedCursor(Cursor cur)
Updates cursor on the grabber if it is window peer (i.e. current grab is for Swing, not for AWT. |
| manager | back to summary |
|---|---|
| private static XGlobalCursorManager manager The XGlobalCursorManager is a singleton. | |
| nativeContainer | back to summary |
|---|---|
| private WeakReference<Component> nativeContainer | |
| XGlobalCursorManager | back to summary |
|---|---|
| public XGlobalCursorManager() | |
| findHeavyweightUnderCursor | back to summary |
|---|---|
| protected Component findHeavyweightUnderCursor() | |
| findHeavyweightUnderCursor | back to summary |
|---|---|
| protected Component findHeavyweightUnderCursor(boolean useCache) Implements abstract sun. Doc from sun. Returns the most specific, visible, heavyweight Component under the cursor. This method should return null iff the cursor is not over any Java Window.
| |
| getCapableCursor | back to summary |
|---|---|
| private Cursor getCapableCursor(Component comp) | |
| getCursor | back to summary |
|---|---|
| pack-priv static long getCursor(Cursor c) | |
| getCursorManager | back to summary |
|---|---|
| pack-priv static GlobalCursorManager getCursorManager() | |
| getCursorPos | back to summary |
|---|---|
| protected void getCursorPos(Point p) Implements abstract sun. Doc from sun. Returns the global cursor position, in screen coordinates.
| |
| getLocationOnScreen | back to summary |
|---|---|
| protected Point getLocationOnScreen(Component c) Implements abstract sun.
| |
| nativeUpdateCursor | back to summary |
|---|---|
| pack-priv static void nativeUpdateCursor(Component heavy) Should be called in response to a native mouse enter or native mouse button released message. Should not be called during a mouse drag. | |
| setCursor | back to summary |
|---|---|
| protected void setCursor(Component comp, Cursor cursor, boolean useCache) Implements abstract sun. Doc from sun. 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.
| |
| setPData | back to summary |
|---|---|
| pack-priv static void setPData(Cursor c, long pData) | |
| updateCursorOutOfJava | back to summary |
|---|---|
| protected void updateCursorOutOfJava() Overrides sun.
| |
| updateGrabbedCursor | back to summary |
|---|---|
| private static void updateGrabbedCursor(Cursor cur) Updates cursor on the grabber if it is window peer (i.e. current grab is for Swing, not for AWT. | |