|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcontrol.ui.wombat.event.TouchEvent
public class TouchEvent
This event may be generated by the application's top level Frame object when the screen has been touched. It is sent down the component tree to any TouchListener component, for example a button.
(C) DOMOLOGIC Home Automation GmbH 2005 - 2007
TouchListener
Field Summary | |
---|---|
int |
type
The type of the last touch. |
static int |
TYPE_TOUCH_DRAGGED
Event type for touch dragged. |
static int |
TYPE_TOUCH_PRESSED
Event type for touch pressed. |
static int |
TYPE_TOUCH_RELEASED
Event type for touch released. |
int |
x
The x position of the last touch. |
int |
y
The y position of the last touch. |
Constructor Summary | |
---|---|
TouchEvent(int type,
int x,
int y)
Creates a new touch event. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, notifyAll, toString, wait |
Field Detail |
---|
public static final int TYPE_TOUCH_RELEASED
public static final int TYPE_TOUCH_PRESSED
public static final int TYPE_TOUCH_DRAGGED
public int x
public int y
public int type
Constructor Detail |
---|
public TouchEvent(int type, int x, int y)
type
- the typex
- the x positiony
- the y position
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |