|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.MouseInfo
public class MouseInfo
MouseInfo is a class containing utility functions for mouse information.
| Method Summary | |
|---|---|
static int |
getNumberOfButtons()
Returns the number of mouse buttons, or -1 if no mouse is connected. |
static PointerInfo |
getPointerInfo()
Returns a PointerInfo object containing information about 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 |
| Method Detail |
|---|
public static PointerInfo getPointerInfo()
throws HeadlessException
HeadlessException - if the current GraphicsEnvironment is headless.
public static int getNumberOfButtons()
throws HeadlessException
HeadlessException - if the current GraphicsEnvironment is headless.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||