|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.io.simple.FontFactory
Parses the font specifications for bands and text elements.
| Nested Class Summary | |
static class |
FontFactory.FontInformation
The FontInformation class is used to store the font definition, until it can be applied to a stylesheet. |
| Field Summary |
| Constructor Summary | |
FontFactory()
Default constructor. |
|
| Method Summary | |
static void |
applyFontInformation(ElementStyleSheet es,
FontFactory.FontInformation fi)
Applies the font information to the ElementStyleSheet. |
FontFactory.FontInformation |
createFont(org.xml.sax.Attributes attr)
Parses an element font. |
void |
createFont(org.xml.sax.Attributes attr,
ElementStyleSheet target)
Parses an element font. |
protected java.lang.Integer |
readInt(org.xml.sax.Attributes attr,
java.lang.String name)
Reads an attribute as int and returns def if that fails. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FontFactory()
| Method Detail |
public static void applyFontInformation(ElementStyleSheet es,
FontFactory.FontInformation fi)
es - the element style sheet that should receive the font definition.fi - the previously parsed font information.
protected java.lang.Integer readInt(org.xml.sax.Attributes attr,
java.lang.String name)
def if that fails.
attr - the element attributes.name - the attribute name.
public void createFont(org.xml.sax.Attributes attr,
ElementStyleSheet target)
throws org.jfree.xml.ElementDefinitionException
attr - the element attributes.target - the target element style sheet, that should receive the created font definition.
org.jfree.xml.ElementDefinitionException - if the font cannot be created.
public FontFactory.FontInformation createFont(org.xml.sax.Attributes attr)
throws org.jfree.xml.ElementDefinitionException
attr - the element attributes.
org.jfree.xml.ElementDefinitionException - if the font cannot be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||