public final class MouseEventFilterFactory extends Object
Constructor and Description |
---|
MouseEventFilterFactory() |
Modifier and Type | Method and Description |
---|---|
static MouseInputListener |
createFilter(MouseInputListener mouseInputListener)
Wrapp the given MouseInputListener with a MouseInputFilter
|
static MouseListener |
createFilter(MouseListener mouseListener)
Wrapp the given MouseInputListener with a MouseInputFilter
|
static void |
setTimeout(int timeout)
Sets the timeout which is used by the filters created by the factory methods.
|
public static void setTimeout(int timeout) throws IllegalArgumentException
timeout
- the timeout time in milli seconds.IllegalArgumentException
- if the given timeout time is smaller then 1.public static MouseInputListener createFilter(MouseInputListener mouseInputListener)
mouseInputListener
- the listener to wrapppublic static MouseListener createFilter(MouseListener mouseListener)
mouseListener
- the listener to wrappCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.