|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.intermediate.IFState
public class IFState
Method Summary | |
---|---|
static IFState |
create()
|
java.lang.String |
getFontFamily()
Returns the font family. |
int |
getFontSize()
Returns the font size. |
java.lang.String |
getFontStyle()
Returns the font style. |
java.lang.String |
getFontVariant()
Returns the font variant. |
int |
getFontWeight()
Returns the font weight. |
java.awt.Color |
getTextColor()
Returns the text color. |
boolean |
isFontChanged()
|
IFState |
pop()
|
IFState |
push()
|
void |
resetFontChanged()
|
void |
setFontFamily(java.lang.String family)
Sets the font family. |
void |
setFontSize(int size)
Sets the font size. |
void |
setFontStyle(java.lang.String style)
Set the font style |
void |
setFontVariant(java.lang.String variant)
Sets the font variant. |
void |
setFontWeight(int weight)
Sets the font weight |
void |
setTextColor(java.awt.Color color)
Sets the text color. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IFState create()
public IFState push()
public IFState pop()
public boolean isFontChanged()
public void resetFontChanged()
public java.lang.String getFontFamily()
public void setFontFamily(java.lang.String family)
family
- the new font familypublic int getFontSize()
public void setFontSize(int size)
size
- the new font size (in mpt)public java.lang.String getFontStyle()
public void setFontStyle(java.lang.String style)
style
- the new font stylepublic int getFontWeight()
public void setFontWeight(int weight)
weight
- the new font weightpublic java.lang.String getFontVariant()
public void setFontVariant(java.lang.String variant)
variant
- the new font variantpublic java.awt.Color getTextColor()
public void setTextColor(java.awt.Color color)
color
- the new text color
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |