A class that describes the pointer position.
It provides the
GraphicsDevice where the
pointer is and the
Point that represents
the coordinates of the pointer.
Instances of this class should be obtained via
PointerInfo instance is not updated dynamically
as the mouse moves. To get the updated location, you must call
|Methods inherited from class java.lang.Object|
public GraphicsDevice getDevice()
GraphicsDevicewhere the mouse pointer was at the moment this
GraphicsDevicecorresponding to the pointer
public Point getLocation()
Pointthat represents the coordinates of the pointer on the screen. See
MouseInfo.getPointerInfo()for more information about coordinate calculation for multiscreen systems.