|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.FontTriplet
public class FontTriplet
FontTriplet contains information on name, style and weight of one font
Nested Class Summary | |
---|---|
static interface |
FontTriplet.Matcher
Matcher interface for FontTriplet . |
Field Summary | |
---|---|
static FontTriplet |
DEFAULT_FONT_TRIPLET
|
Constructor Summary | |
---|---|
FontTriplet()
|
|
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(FontTriplet 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 |
Field Detail |
---|
public static final FontTriplet DEFAULT_FONT_TRIPLET
Constructor Detail |
---|
public FontTriplet()
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(FontTriplet o)
compareTo
in interface java.lang.Comparable<FontTriplet>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |