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