|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.PointerInfo
public class PointerInfo
PointerInfo represents information about the mouse pointer, i.e. its GraphicsDevice and location. PointerInfo objects cannot be instantiated directly, but are retrieved from MouseInfo.getPointerInfo(). PointerInfo objects are immutable and will not be updated for future mouse motions.
Method Summary | |
---|---|
GraphicsDevice |
getDevice()
Returns the GraphicsDevice on which the mouse pointer was located |
Point |
getLocation()
Returns the coordinates of the mouse pointer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public GraphicsDevice getDevice()
public Point getLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |