java.awt

Class MouseInfo

  • java.lang.Object
    • java.awt.MouseInfo
  • public class MouseInfo extends java.lang.Object
    MouseInfo provides methods for getting information about the mouse, such as mouse pointer location and the number of mouse buttons.
    Since:
    1.5
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator getNumberOfButtons Reveal DetailHide Detail
      Returns the number of buttons on the mouse.
      Ordinary member indicator getPointerInfo Reveal DetailHide Detail
      Returns a PointerInfo instance that represents the current location of the mouse pointer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge