|
Préférences
Moteurs de recherche
|
||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
java.awt
|
Method Summary | |
---|---|
GraphicsDevice |
getDevice()
Returns the GraphicsDevice where the mouse pointer
was at the moment this PointerInfo was created. |
Point |
getLocation()
Returns the Point that represents the coordinates
of the pointer on the screen. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public GraphicsDevice getDevice()
GraphicsDevice
where the mouse pointer
was at the moment this PointerInfo
was created.
GraphicsDevice
corresponding to the pointerpublic Point getLocation()
Point
that represents the coordinates
of the pointer on the screen. See MouseInfo.getPointerInfo()
for more information about coordinate calculation for multiscreen
systems.
MouseInfo
,
MouseInfo.getPointerInfo()