Class MouseUtils
java.lang.Object
org.openide.awt.MouseUtils
A class that contains a set of utility classes and methods
around mouse events and processing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The PopupMouseAdapter provides safe way to implement popup menu invocation mechanism. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns true if parametr is a 'doubleclick event'static boolean
Deprecated.static boolean
Deprecated.Offers no advantages over the standardSwingUtilities.isRightMouseButton(java.awt.event.MouseEvent)
.
-
Constructor Details
-
MouseUtils
public MouseUtils()
-
-
Method Details
-
isRightMouseButton
Deprecated.Offers no advantages over the standardSwingUtilities.isRightMouseButton(java.awt.event.MouseEvent)
.Determines if the event is originated from the right mouse button- Parameters:
e
- the MouseEvent- Returns:
- true if the event is originated from the right mouse button, false otherwise
-
isLeftMouseButton
Deprecated.Offers no advantages over the standardSwingUtilities.isLeftMouseButton(java.awt.event.MouseEvent)
.Determines if the event is originated from a left mouse button- Parameters:
e
- the MouseEvent- Returns:
- true if the event is originated from the left mouse button, false otherwise
-
isDoubleClick
Returns true if parametr is a 'doubleclick event'- Parameters:
e
- MouseEvent- Returns:
- true if the event is a doubleclick
-
SwingUtilities.isLeftMouseButton(java.awt.event.MouseEvent)
.