public final class IFState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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()
reset font changed
|
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.
|
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 colorCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.