|
||||||||||
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.text.NumberedLinePrinter
public class NumberedLinePrinter
Prints a single line
Field Summary |
---|
Fields inherited from class org.acm.seguin.print.text.LinePrinter |
---|
fontSize |
Constructor Summary | |
---|---|
NumberedLinePrinter()
|
Method Summary | |
---|---|
void |
print(java.awt.Graphics g,
java.lang.String line,
int x,
int y,
LineSet set,
int index)
Prints the line |
Methods inherited from class org.acm.seguin.print.text.LinePrinter |
---|
getLineHeight, init, setFontSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberedLinePrinter()
Method Detail |
---|
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 |