public class TouchscreenMouseListener
extends java.awt.event.MouseAdapter
TouchscreenMouseListener.TouchscreenEnabledComponent
vision components. All
you need to do to use this is add an instance of it as a mouse listener to your component.Modifier and Type | Class and Description |
---|---|
static interface |
TouchscreenMouseListener.TouchscreenEnabledComponent |
Modifier and Type | Field and Description |
---|---|
static int |
MODE_DOUBLE_CLICK |
static int |
MODE_IGNORE |
static int |
MODE_SINGLE_CLICK |
Constructor and Description |
---|
TouchscreenMouseListener(java.awt.Component parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
addMobileFocusListener()
This is a bit of a hack to put this here - but it helps the mobile module know when to show a keyboard.
|
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
public static final int MODE_IGNORE
public static final int MODE_SINGLE_CLICK
public static final int MODE_DOUBLE_CLICK
public TouchscreenMouseListener(java.awt.Component parent)
protected void addMobileFocusListener()
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter