public enum OpenTypeMacintoshEncoding extends Enum<OpenTypeMacintoshEncoding> implements IEnumValue
Represents encoding for the OpenTypePlatform.Macintosh
platform.
Enum Constant and Description |
---|
DefaultSemantics
Default semantics.
|
FullUnicodeCoverage
Full Unicode coverage.
|
Iso106461993Semantics
ISO 10646 1993 semantics (deprecated).
|
Unicode20BmpOnly
Unicode 2.0 or later semantics (BMP only).
|
Unicode20NonBmp
Unicode 2.0 or later semantics (non-BMP characters allowed).
|
UnicodeVariationSequences
Unicode Variation Sequences.
|
Version11Semantics
Version 1.1 semantics.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static OpenTypeMacintoshEncoding |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static OpenTypeMacintoshEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenTypeMacintoshEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final OpenTypeMacintoshEncoding DefaultSemantics
Default semantics.
public static final OpenTypeMacintoshEncoding Version11Semantics
Version 1.1 semantics.
public static final OpenTypeMacintoshEncoding Iso106461993Semantics
ISO 10646 1993 semantics (deprecated).
public static final OpenTypeMacintoshEncoding Unicode20BmpOnly
Unicode 2.0 or later semantics (BMP only).
public static final OpenTypeMacintoshEncoding Unicode20NonBmp
Unicode 2.0 or later semantics (non-BMP characters allowed).
public static final OpenTypeMacintoshEncoding UnicodeVariationSequences
Unicode Variation Sequences.
public static final OpenTypeMacintoshEncoding FullUnicodeCoverage
Full Unicode coverage.
public static OpenTypeMacintoshEncoding[] values()
for (OpenTypeMacintoshEncoding c : OpenTypeMacintoshEncoding.values()) System.out.println(c);
public static OpenTypeMacintoshEncoding 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 static OpenTypeMacintoshEncoding getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue