Class NewtClickTimeoutWorkaround
- java.lang.Object
-
- com.metsci.glimpse.core.support.swing.NewtClickTimeoutWorkaround
-
public class NewtClickTimeoutWorkaround extends Object
A creative workaround for changing the NEWT click timeout, which is hard- coded to 300ms and not straightforward to change, even using reflection.Like in AWT/Swing, NEWT's click timeout is used for detecting multi-clicks. Unlike in AWT/Swing, it is also used to decide whether a PRESS+RELEASE counts as a CLICK.
- Author:
- hogye
-
-
Constructor Summary
Constructors Constructor Description NewtClickTimeoutWorkaround()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DisposableattachNewtClickTimeoutWorkaround(com.jogamp.newt.Window window, long newTimeout_MILLIS)
-
-
-
Method Detail
-
attachNewtClickTimeoutWorkaround
public static Disposable attachNewtClickTimeoutWorkaround(com.jogamp.newt.Window window, long newTimeout_MILLIS)
-
-