Modifier and Type | Method | Description |
---|---|---|
Emky |
_decode(String objectReference,
String applicationReference) |
Return the correct enum member for a given string/object reference.
|
String |
_encode(Object japlEnum) |
|
TypeClass[] |
_getAppleScriptTypes() |
|
Class<Emky> |
_getJavaType() |
|
String |
getCode() |
|
String |
getDescription() |
|
String |
getName() |
|
static Emky |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Emky[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Emky COMMAND
public static final Emky CONTROL
public static final Emky OPTION
public static final Emky SHIFT
public static final TypeClass CLASS
public static Emky[] values()
for (Emky c : Emky.values()) System.out.println(c);
public static Emky 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 String getCode()
public String getDescription()
getDescription
in interface JaplEnum
public Emky _decode(String objectReference, String applicationReference)
public Class<Emky> _getJavaType()
_getJavaType
in interface Codec<Emky>
_decode(String, String)
public TypeClass[] _getAppleScriptTypes()
_getAppleScriptTypes
in interface Codec<Emky>
_decode(String, String)