|
org.openide.awt 6.7.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.awt.MouseUtils
public class MouseUtils
A class that contains a set of utility classes and methods around mouse events and processing.
Nested Class Summary | |
---|---|
static class |
MouseUtils.PopupMouseAdapter
The PopupMouseAdapter provides safe way to implement popup menu invocation mechanism. |
Constructor Summary | |
---|---|
MouseUtils()
|
Method Summary | |
---|---|
static boolean |
isDoubleClick(MouseEvent e)
Returns true if parametr is a 'doubleclick event' |
static boolean |
isLeftMouseButton(MouseEvent e)
Deprecated. Offers no advantages over the standard SwingUtilities.isLeftMouseButton(java.awt.event.MouseEvent) . |
static boolean |
isRightMouseButton(MouseEvent e)
Deprecated. Offers no advantages over the standard SwingUtilities.isRightMouseButton(java.awt.event.MouseEvent) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MouseUtils()
Method Detail |
---|
public static boolean isRightMouseButton(MouseEvent e)
SwingUtilities.isRightMouseButton(java.awt.event.MouseEvent)
.
e
- the MouseEvent
public static boolean isLeftMouseButton(MouseEvent e)
SwingUtilities.isLeftMouseButton(java.awt.event.MouseEvent)
.
e
- the MouseEvent
public static boolean isDoubleClick(MouseEvent e)
e
- MouseEvent
|
org.openide.awt 6.7.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |