public enum OpenTypeName extends Enum<OpenTypeName> implements IEnumValue
Defines pre-defined IDs, they apply to all platforms unless indicated otherwise.
Enum Constant and Description |
---|
CompatibleFull
Compatible Full (Macintosh only).
|
CopyrightNotice
Copyright notice.
|
DarkBackgroundPalette
Dark Background Palette.
|
Description
Description of the typeface.
|
Designer
Designer), name of the designer of the typeface.
|
FontFamilyName
Font Family name.
|
FontSubfamilyName
Font Subfamily name.
|
FullFontName
Full font name that reflects all family and relevant subfamily descriptors.
|
LicenseDescription
Description of how the font may be legally used, or different example scenarios for licensed use.
|
LicenseInfoUrl
URL where additional licensing information can be found.
|
LightBackgroundPalette
Light Background Palette.
|
ManufacturerName
Manufacturer Name.
|
PostScriptCidFindfont
PostScript CID findfont name.
|
PostScriptName
PostScript name for the font.
|
SampleText
Sample text.
|
Trademark
Trademark notice/information for this font.
|
TypographicFamily
Typographic Family name.
|
TypographicSubfamily
Typographic Subfamily name.
|
UniqueFontIdentifier
Unique font identifier.
|
UrlDesigner
URL of typeface designer (with protocol, e.g., http://, ftp://).
|
UrlVendor
URL of font vendor (with protocol, e.g., http://, ftp://).
|
VariationsPostScriptNamePrefix
Variations PostScript Name Prefix.
|
VersionString
Version string.
|
WwsFamilyName
WWS Family Name.
|
WwsSubfamilyName
WWS Subfamily Name.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static OpenTypeName |
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 OpenTypeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenTypeName[] |
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 OpenTypeName CopyrightNotice
Copyright notice.
public static final OpenTypeName FontFamilyName
Font Family name.
public static final OpenTypeName FontSubfamilyName
Font Subfamily name.
public static final OpenTypeName UniqueFontIdentifier
Unique font identifier.
public static final OpenTypeName FullFontName
Full font name that reflects all family and relevant subfamily descriptors.
public static final OpenTypeName VersionString
Version string.
public static final OpenTypeName PostScriptName
PostScript name for the font.
public static final OpenTypeName Trademark
Trademark notice/information for this font.
public static final OpenTypeName ManufacturerName
Manufacturer Name.
public static final OpenTypeName Designer
Designer), name of the designer of the typeface.
public static final OpenTypeName Description
Description of the typeface.
public static final OpenTypeName UrlVendor
URL of font vendor (with protocol, e.g., http://, ftp://).
public static final OpenTypeName UrlDesigner
URL of typeface designer (with protocol, e.g., http://, ftp://).
public static final OpenTypeName LicenseDescription
Description of how the font may be legally used, or different example scenarios for licensed use.
public static final OpenTypeName LicenseInfoUrl
URL where additional licensing information can be found.
public static final OpenTypeName TypographicFamily
Typographic Family name.
public static final OpenTypeName TypographicSubfamily
Typographic Subfamily name.
public static final OpenTypeName CompatibleFull
Compatible Full (Macintosh only). On the Macintosh, the menu name is constructed using the FOND resource.
public static final OpenTypeName SampleText
Sample text. This can be the font name, or any other text that the designer thinks is the best sample to display the font in.
public static final OpenTypeName PostScriptCidFindfont
PostScript CID findfont name.
public static final OpenTypeName WwsFamilyName
WWS Family Name.
public static final OpenTypeName WwsSubfamilyName
WWS Subfamily Name.
public static final OpenTypeName LightBackgroundPalette
Light Background Palette.
public static final OpenTypeName DarkBackgroundPalette
Dark Background Palette.
public static final OpenTypeName VariationsPostScriptNamePrefix
Variations PostScript Name Prefix.
public static OpenTypeName[] values()
for (OpenTypeName c : OpenTypeName.values()) System.out.println(c);
public static OpenTypeName 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 OpenTypeName 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