public class EventCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ANTICLOCKWISE
The "anti-clockwise" command constant.
|
static int |
BACK
The "back" command constant.
|
static int |
CANCEL
The "cancel" command constant.
|
static int |
CLOCKWISE
The "clockwise" command constant.
|
static String |
COMMON_MICROUI_GENERATOR_TAG
Usual MicroUI Command generator tag used in platform configuration project (
microui.xml). |
static int |
COPY
The "copy" command constant.
|
static int |
CUT
The "cut" command constant.
|
static int |
DISPLAY
The "display" command constant.
|
static int |
DOWN
The "down" command constant.
|
static int |
ESC
The "escape" command constant.
|
static int |
EXIT
The "exit" command constant.
|
static int |
HELP
The "help" command constant.
|
static int |
LEFT
The "left" command constant.
|
static int |
MENU
The "menu" command constant.
|
static int |
NEXT
The "next" command constant.
|
static int |
PASTE
The "paste" command constant.
|
static int |
PAUSE
The "pause" command constant.
|
static int |
PREVIOUS
The "previous" command constant.
|
static int |
RESUME
The "resume" command constant.
|
static int |
RIGHT
The "right" command constant.
|
static int |
SELECT
The "select" command constant.
|
static int |
START
The "start" command constant.
|
static int |
STOP
The "stop" command constant.
|
static int |
UP
The "up" command constant.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
sendEvent(int command)
Send a command event to the event generator with the MicroUI generator tag
COMMON_MICROUI_GENERATOR_TAG. |
static void |
sendEvent(String commandsEventGenerator,
int command)
Send a command event to the event generator.
|
public static final int ANTICLOCKWISE
The value 0x0013 is assigned to ANTICLOCKWISE.
public static final int BACK
The value 0x0001 is assigned to BACK.
public static final int CANCEL
The value 0x0007 is assigned to CANCEL.
public static final int CLOCKWISE
The value 0x0012 is assigned to CLOCKWISE.
public static final String COMMON_MICROUI_GENERATOR_TAG
microui.xml).public static final int COPY
The value 0x000F is assigned to COPY.
public static final int CUT
The value 0x0010 is assigned to CUT.
public static final int DISPLAY
The value 0x0016 is assigned to DISPLAY.
public static final int DOWN
The value 0x0003 is assigned to DOWN.
public static final int ESC
The value 0x0000 is assigned to ESC.
public static final int EXIT
The value 0x000A is assigned to EXIT.
public static final int HELP
The value 0x0008 is assigned to HELP.
public static final int LEFT
The value 0x0004 is assigned to LEFT.
public static final int MENU
The value 0x0009 is assigned to MENU.
public static final int NEXT
The value 0x0015 is assigned to NEXT.
public static final int PASTE
The value 0x0011 is assigned to PASTE.
public static final int PAUSE
The value 0x000D is assigned to PAUSE.
public static final int PREVIOUS
The value 0x0014 is assigned to PREVIOUS.
public static final int RESUME
The value 0x000E is assigned to RESUME.
public static final int RIGHT
The value 0x0005 is assigned to RIGHT.
public static final int SELECT
The value 0x0006 is assigned to SELECT.
public static final int START
The value 0x000B is assigned to START.
public static final int STOP
The value 0x000C is assigned to STOP.
public static final int UP
The value 0x0002 is assigned to UP.
public static void sendEvent(int command)
COMMON_MICROUI_GENERATOR_TAG.command - the command to send, between 0 and 255.sendEvent(String, int)public static void sendEvent(String commandsEventGenerator, int command)
The result of this method is unknown when the given event generator is not a MicroUI Command event
generator.
commandsEventGenerator - the MicroUI Command event generator.command - the command to send, between 0 and 255.