public enum SystemInputMessage extends Enum<SystemInputMessage> implements Message
| Enum Constant and Description |
|---|
CLICK |
DEFAULT |
KEYDOWN |
KEYPRESS |
KEYUP |
MOUSEDOWN |
MOUSEMOVE |
MOUSEUP |
| Modifier and Type | Method and Description |
|---|---|
static SystemInputMessage |
get(int code) |
int |
getID()
Get command id to execute on host, service definitions are available on Scope Interface
|
String |
getServiceName()
Associates a command id with a service name
|
static SystemInputMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemInputMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemInputMessage CLICK
public static final SystemInputMessage KEYPRESS
public static final SystemInputMessage KEYUP
public static final SystemInputMessage KEYDOWN
public static final SystemInputMessage MOUSEDOWN
public static final SystemInputMessage MOUSEUP
public static final SystemInputMessage MOUSEMOVE
public static final SystemInputMessage DEFAULT
public static SystemInputMessage[] values()
for (SystemInputMessage c : SystemInputMessage.values()) System.out.println(c);
public static SystemInputMessage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic int getID()
Messagepublic String getServiceName()
MessagegetServiceName in interface Messagepublic static SystemInputMessage get(int code)
Copyright © 2012. All Rights Reserved.