public class MouseUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MouseUtils.PopupMouseAdapter
The PopupMouseAdapter provides safe way to implement popup menu invocation
mechanism.
|
Constructor and Description |
---|
MouseUtils() |
Modifier and Type | Method and Description |
---|---|
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) . |
@Deprecated public static boolean isRightMouseButton(MouseEvent e)
SwingUtilities.isRightMouseButton(java.awt.event.MouseEvent)
.e
- the MouseEvent@Deprecated public static boolean isLeftMouseButton(MouseEvent e)
SwingUtilities.isLeftMouseButton(java.awt.event.MouseEvent)
.e
- the MouseEventpublic static boolean isDoubleClick(MouseEvent e)
e
- MouseEvent