|
fop 0.95 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.FontTriplet
FontTriplet contains information on name, style and weight of one font
Constructor Summary | |
FontTriplet(java.lang.String name,
java.lang.String style,
int weight)
Creates a new font triplet. |
|
FontTriplet(java.lang.String name,
java.lang.String style,
int weight,
int priority)
Creates a new font triplet. |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
|
int |
getPriority()
|
java.lang.String |
getStyle()
|
int |
getWeight()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FontTriplet(java.lang.String name, java.lang.String style, int weight)
name
- font namestyle
- font style (normal, italic etc.)weight
- font weight (100, 200, 300...800, 900)public FontTriplet(java.lang.String name, java.lang.String style, int weight, int priority)
name
- font namestyle
- font style (normal, italic etc.)weight
- font weight (100, 200, 300...800, 900)priority
- priority of this triplet/font mappingMethod Detail |
public java.lang.String getName()
public java.lang.String getStyle()
public int getWeight()
public int getPriority()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
|
fop 0.95 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |