java.awt
public class PointerInfo extends Object
Since: 1.5
Method Summary | |
---|---|
GraphicsDevice | getDevice()
Returns the GraphicsDevice on which the mouse pointer was located
|
Point | getLocation()
Returns the coordinates of the mouse pointer.
|
Returns: a GraphicsDevice object.
Returns: a Point object containing the pointer coordinates.