|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.java2d.StrokingTextHandler
org.apache.fop.svg.FOPTextHandlerAdapter
org.apache.fop.afp.svg.AFPTextHandler
public class AFPTextHandler
Specialized TextHandler implementation that the AFPGraphics2D class delegates to to paint text using AFP GOCA text operations.
| Field Summary | |
|---|---|
protected Font |
overrideFont
Overriding FontState |
| Constructor Summary | |
|---|---|
AFPTextHandler(FontInfo fontInfo,
AFPResourceManager resourceManager)
Main constructor. |
|
| Method Summary | |
|---|---|
void |
drawString(java.awt.Graphics2D g,
java.lang.String str,
float x,
float y)
Add a text string to the current data object of the AFP datastream. |
FontInfo |
getFontInfo()
Return the font information associated with this object |
void |
setOverrideFont(Font overrideFont)
Sets the overriding font. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Font overrideFont
| Constructor Detail |
|---|
public AFPTextHandler(FontInfo fontInfo,
AFPResourceManager resourceManager)
fontInfo - the AFPGraphics2D instanceresourceManager - the AFPResourceManager instance| Method Detail |
|---|
public FontInfo getFontInfo()
public void drawString(java.awt.Graphics2D g,
java.lang.String str,
float x,
float y)
drawString in interface org.apache.xmlgraphics.java2d.TextHandlerdrawString in class org.apache.xmlgraphics.java2d.StrokingTextHandlerpublic void setOverrideFont(Font overrideFont)
overrideFont - Overriding Font to set
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||