|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.properties.CommonFont
public final class CommonFont
Collection of CommonFont properties
Field Summary | |
---|---|
Length |
fontSize
The "font-size" property. |
Numeric |
fontSizeAdjust
The "font-size-adjust" property. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getFirstFontFamily()
|
int |
getFontSelectionStrategy()
|
Length |
getFontSize()
|
Numeric |
getFontSizeAdjust()
|
FontTriplet[] |
getFontState(FontInfo fontInfo)
Create and return an array of FontTriplets based on
the properties stored in the instance variables. |
int |
getFontStretch()
|
int |
getFontStyle()
|
int |
getFontVariant()
|
int |
getFontWeight()
|
static CommonFont |
getInstance(PropertyList pList)
Returns a CommonFont instance for the given PropertyList If the font-size and font-size-adjust properties are absolute the entire instance will be cached. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Length fontSize
public final Numeric fontSizeAdjust
Method Detail |
---|
public static CommonFont getInstance(PropertyList pList) throws PropertyException
pList
- the PropertyList to get the properties from
PropertyException
- if there was a problem getting the propertiespublic java.lang.String getFirstFontFamily()
public int getFontSelectionStrategy()
public int getFontStretch()
public int getFontStyle()
public int getFontVariant()
public int getFontWeight()
public Length getFontSize()
public Numeric getFontSizeAdjust()
public FontTriplet[] getFontState(FontInfo fontInfo)
FontTriplets
based on
the properties stored in the instance variables.
fontInfo
-
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |