Class FontResolutionPriority
- java.lang.Object
-
- com.adobe.fontengine.fontmanagement.FontResolutionPriority
-
- All Implemented Interfaces:
java.io.Serializable
public final class FontResolutionPriority extends java.lang.Object implements java.io.SerializableThis class provides an enumeration of the allowable values for use in setting the resolution priority in the variety of font sets that are stored in CAFE. Not every font set uses every font resolution priority. Examples of the use of these priority levels are available in:CSS20FontSet.setResolutionPriority.PSNameResolver.setResolutionPriority.Concurrency
Instances of this class are immutable after construction and contain no mutable static data. Therefore, they are threadsafe.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FontResolutionPriorityFIRSTIn the case of conflicts choose the font which was added to the font set first.static FontResolutionPriorityINTELLIGENTThis is an alias forINTELLIGENT_LAST.static FontResolutionPriorityINTELLIGENT_FIRSTIn the case of conflicts choose the font using an "intelligent" font resolution process.static FontResolutionPriorityINTELLIGENT_LASTIn the case of conflicts choose the font using an "intelligent" font resolution process.static FontResolutionPriorityLASTIn the case of conflicts choose the font which was added to the font set last.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FontResolutionPriorityparse(java.lang.String text)Parse the text and return the FontResolutionPriority object which is represented if any.java.lang.StringtoString()
-
-
-
Field Detail
-
INTELLIGENT_LAST
public static final FontResolutionPriority INTELLIGENT_LAST
In the case of conflicts choose the font using an "intelligent" font resolution process. If two fonts appear to be the same under "intelligent" selection choose the one that was added last.
-
INTELLIGENT
public static final FontResolutionPriority INTELLIGENT
This is an alias forINTELLIGENT_LAST.
-
INTELLIGENT_FIRST
public static final FontResolutionPriority INTELLIGENT_FIRST
In the case of conflicts choose the font using an "intelligent" font resolution process. If two fonts appear to be the same under "intelligent" selection choose the one that was added last.
-
FIRST
public static final FontResolutionPriority FIRST
In the case of conflicts choose the font which was added to the font set first.
-
LAST
public static final FontResolutionPriority LAST
In the case of conflicts choose the font which was added to the font set last.
-
-
Method Detail
-
parse
public static FontResolutionPriority parse(java.lang.String text)
Parse the text and return the FontResolutionPriority object which is represented if any.- Parameters:
text- textual representation of the resolution priority- Returns:
- FontResolutionPriority represented by the text value
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-