public class EventTouch extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMON_MICROUI_GENERATOR_TAG
Usual MicroUI Touch generator tag used in platform configuration project (
microui.xml). |
| Modifier and Type | Method and Description |
|---|---|
static void |
sendMovedEvent(int x,
int y)
Send a MOVE event to the event generator with the MicroUI generator tag
COMMON_MICROUI_GENERATOR_TAG. |
static void |
sendMovedEvent(String touchEventGenerator,
int x,
int y)
Send a MOVE event to the event generator.
|
static void |
sendPressedEvent(int x,
int y)
Send a PRESSED event to the event generator with the MicroUI generator tag
COMMON_MICROUI_GENERATOR_TAG. |
static void |
sendPressedEvent(String touchEventGenerator,
int x,
int y)
Send a PRESSED event to the event generator.
|
static void |
sendReleasedEvent()
Send a RELEASED event to the event generator with the MicroUI generator tag
COMMON_MICROUI_GENERATOR_TAG. |
static void |
sendReleasedEvent(String touchEventGenerator)
Send a RELEASED event to the event generator.
|
public static final String COMMON_MICROUI_GENERATOR_TAG
microui.xml).public static void sendMovedEvent(int x,
int y)
COMMON_MICROUI_GENERATOR_TAG.x - the pointer X coordinate.y - the pointer Y coordinate.sendMovedEvent(String, int, int)public static void sendMovedEvent(String touchEventGenerator, int x, int y)
The result of this method is unknown when the given event generator is not a MicroUI Touch event
generator.
touchEventGenerator - the MicroUI Pointer event generator.x - the pointer X coordinate.y - the pointer Y coordinate.public static void sendPressedEvent(int x,
int y)
COMMON_MICROUI_GENERATOR_TAG.x - the pointer X coordinate.y - the pointer Y coordinate.sendPressedEvent(String, int, int)public static void sendPressedEvent(String touchEventGenerator, int x, int y)
The result of this method is unknown when the given event generator is not a MicroUI Touch event
generator.
touchEventGenerator - the MicroUI Touch event generator.x - the pointer X coordinate.y - the pointer Y coordinate.public static void sendReleasedEvent()
COMMON_MICROUI_GENERATOR_TAG.sendReleasedEvent(String)public static void sendReleasedEvent(String touchEventGenerator)
The result of this method is unknown when the given event generator is not a MicroUI Pointer event
generator.
touchEventGenerator - the MicroUI Touch event generator.