Codec<Appearances>
, JaplEnum
, Serializable
, Comparable<Appearances>
@Code("appe") @Name("Appearances") public enum Appearances extends Enum<Appearances> implements JaplEnum, Codec<Appearances>
Modifier and Type | Method | Description |
---|---|---|
Appearances |
_decode(String objectReference,
String applicationReference) |
Return the correct enum member for a given string/object reference.
|
String |
_encode(Object japlEnum) |
|
TypeClass[] |
_getAppleScriptTypes() |
|
Class<Appearances> |
_getJavaType() |
|
String |
getCode() |
|
String |
getDescription() |
|
String |
getName() |
|
static Appearances |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Appearances[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Appearances BLUE
public static final Appearances GRAPHITE
public static final TypeClass CLASS
public static Appearances[] values()
for (Appearances c : Appearances.values()) System.out.println(c);
public static Appearances 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 Appearances _decode(String objectReference, String applicationReference)
_decode
in interface Codec<Appearances>
objectReference
- object referenceapplicationReference
- application referencepublic String _encode(Object japlEnum)
_encode
in interface Codec<Appearances>
japlEnum
- JaplEnum instancepublic Class<Appearances> _getJavaType()
_getJavaType
in interface Codec<Appearances>
_decode(String, String)
public TypeClass[] _getAppleScriptTypes()
_getAppleScriptTypes
in interface Codec<Appearances>
_decode(String, String)