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