API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. MouseInfo View Source
Author(s)
Roman Poborchiy
Since
1.5
Version
1.3, 11/17/05
Serial
Hierarchy
 Object
      MouseInfo
Implements
Subclasses
Description
public class MouseInfo
  MouseInfo provides methods for getting information about the mouse, such as mouse pointer location and the number of mouse buttons.
See also:   
Constructors
private MouseInfo ()
Private constructor to prevent instantiation.
Methods
Hide/Show inherited methods
publicstatic int getNumberOfButtons () throws HeadlessException
  Returns the number of buttons on the mouse.
publicstatic PointerInfo getPointerInfo () throws HeadlessException
  Returns a PointerInfo instance that represents the current location of the mouse pointer.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar