Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

NativeMouseInfo Interface Reference

Inherited by WinMouseInfo.

List of all members.


Detailed Description

The interface provides access to platform dependent functionality for classes java.awt.PointerInfo & java.awt.MouseInfo.

Public Member Functions

int getNumberOfButtons ()
 Returns the number of buttons on the mouse.

Package Functions

Point getLocation ()
 Returns the Point that represents the coordinates of the pointer on the screen.

Member Function Documentation

Point getLocation (  )  [package]

Returns the Point that represents the coordinates of the pointer on the screen.

Implemented in WinMouseInfo.

int getNumberOfButtons (  ) 

Returns the number of buttons on the mouse.

If no mouse is installed returns -1.

Implemented in WinMouseInfo.