public class CursorUtils
extends java.lang.Object
CursorUtils class contains utility methods for determining the
current pointer location (getPointerLocation()) and for forcing a
mouse cursor update (forceCursorUpdate(Scene)).| Constructor and Description |
|---|
CursorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
forceCursorUpdate(javafx.scene.Scene scene)
Forces the JavaFX runtime to update the mouse cursor.
|
static Point |
getPointerLocation()
Returns the current pointer location.
|
public static void forceCursorUpdate(javafx.scene.Scene scene)
scene - The Scene to update the cursor for.public static Point getPointerLocation()
Copyright (c) 2014 itemis AG and others. All rights reserved.