Class FontTriplet
java.lang.Object
org.apache.fop.fonts.FontTriplet
- All Implemented Interfaces:
Serializable, Comparable<FontTriplet>
FontTriplet contains information on name, style and weight of one font
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FontTripletprivate Stringprivate Stringprivate intprivate static final longserial version UIDprivate Stringprivate int -
Constructor Summary
ConstructorsConstructorDescriptionFontTriplet(String name, String style, int weight) Creates a new font triplet.FontTriplet(String name, String style, int weight, int priority) Creates a new font triplet. -
Method Summary
-
Field Details
-
DEFAULT_FONT_TRIPLET
-
serialVersionUID
private static final long serialVersionUIDserial version UID- See Also:
-
name
-
style
-
weight
private int weight -
priority
private int priority -
key
-
-
Constructor Details
-
FontTriplet
public FontTriplet() -
FontTriplet
-
FontTriplet
-
-
Method Details
-
readObject
- Throws:
ClassNotFoundExceptionIOException
-
getName
- Returns:
- the font name
-
getStyle
- Returns:
- the font style
-
getWeight
public int getWeight()- Returns:
- the font weight
-
getPriority
public int getPriority()- Returns:
- the priority of this triplet/font mapping
-
getKey
-
compareTo
- Specified by:
compareToin interfaceComparable<FontTriplet>
-
hashCode
-
equals
-
toString
-