public final class IdeMouseEventDispatcher
extends java.lang.Object
Constructor and Description |
---|
IdeMouseEventDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
blockNextEvents(java.awt.event.MouseEvent e,
IdeEventQueue.BlockMode blockMode) |
boolean |
dispatchMouseEvent(java.awt.event.MouseEvent e) |
static void |
forbidForceTouch() |
static boolean |
isDiagramViewComponent(java.awt.Component component) |
static boolean |
isForceTouchAllowed() |
static boolean |
patchClickCount(java.awt.event.MouseEvent e)
This method patches event if it concerns side buttons like 4 (Backward) or 5 (Forward)
AND it's not single-click event.
|
static void |
requestFocusInNonFocusedWindow(java.awt.event.MouseEvent event) |
void |
resetHorScrollingTracker() |
public static void forbidForceTouch()
public static boolean isForceTouchAllowed()
public boolean dispatchMouseEvent(java.awt.event.MouseEvent e)
true
if and only if the passed event is already dispatched by the
IdeMouseEventDispatcher
and there is no need for any other processing of the event.
If the method returns false
then it means that the event should be delivered
to normal event dispatching.public static boolean patchClickCount(java.awt.event.MouseEvent e)
public void resetHorScrollingTracker()
public static boolean isDiagramViewComponent(java.awt.Component component)
public void blockNextEvents(java.awt.event.MouseEvent e, IdeEventQueue.BlockMode blockMode)
public static void requestFocusInNonFocusedWindow(java.awt.event.MouseEvent event)