|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.print.text.LinePrinter
org.acm.seguin.print.xml.XMLLinePrinter
public class XMLLinePrinter
Prints a single line
Constructor Summary | |
---|---|
XMLLinePrinter()
Constructor for the JavaLinePrinter object |
Method Summary | |
---|---|
int |
getLineHeight(java.awt.Graphics g)
Gets the LineHeight attribute of the LinePrinter object |
void |
print(java.awt.Graphics g,
java.lang.String line,
int x,
int y,
LineSet set,
int index)
Prints the line |
void |
setFontSize(int value)
Sets the FontSize attribute of the LinePrinter object |
Methods inherited from class org.acm.seguin.print.text.LinePrinter |
---|
init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLLinePrinter()
Method Detail |
---|
public void setFontSize(int value)
setFontSize
in class LinePrinter
value
- The new FontSize valuepublic int getLineHeight(java.awt.Graphics g)
getLineHeight
in class LinePrinter
g
- Description of Parameter
public void print(java.awt.Graphics g, java.lang.String line, int x, int y, LineSet set, int index)
print
in class LinePrinter
g
- The graphics deviceline
- The string to printx
- The x location on the graphics devicey
- The y location on the graphics deviceset
- The set of linesindex
- The line we are printing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |