|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.tools.fontlist.FontSpec
public class FontSpec
Represents a font with information on how it can be used from XSL-FO.
Constructor Summary | |
---|---|
FontSpec(java.lang.String key,
FontMetrics metrics)
Creates a new font spec. |
Method Summary | |
---|---|
void |
addFamilyNames(java.util.Collection names)
Adds font family names. |
void |
addTriplet(FontTriplet triplet)
Adds a font triplet. |
int |
compareTo(java.lang.Object o)
|
java.util.SortedSet |
getFamilyNames()
Returns the font family names. |
FontMetrics |
getFontMetrics()
Returns the font metrics. |
java.lang.String |
getKey()
Returns the internal font key. |
java.util.Collection |
getTriplets()
Returns the font triplets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontSpec(java.lang.String key, FontMetrics metrics)
key
- the internal font keymetrics
- the font metricsMethod Detail |
---|
public void addFamilyNames(java.util.Collection names)
names
- the namespublic void addTriplet(FontTriplet triplet)
triplet
- the font tripletpublic java.util.SortedSet getFamilyNames()
public java.util.Collection getTriplets()
public java.lang.String getKey()
public FontMetrics getFontMetrics()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |