|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.print.xml.State
org.acm.seguin.print.xml.TagState
public class TagState
State pattern that is used to print the XML file
Field Summary |
---|
Fields inherited from class org.acm.seguin.print.xml.State |
---|
color, font |
Constructor Summary | |
---|---|
TagState()
|
Method Summary | |
---|---|
java.awt.Font |
getFont()
Gets the Font attribute of the State object |
static State |
getState()
Gets the State attribute of the TagState class |
protected State |
processLine(java.lang.String line,
int index,
java.lang.StringBuffer buf)
The actual worker method that processes the line. |
Methods inherited from class org.acm.seguin.print.xml.State |
---|
getFontSize, getGraphics, getX, getY, initState, print, processLine, setFontSize, setGraphics, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagState()
Method Detail |
---|
public java.awt.Font getFont()
getFont
in class State
protected State processLine(java.lang.String line, int index, java.lang.StringBuffer buf)
processLine
in class State
line
- the lineindex
- the index of the characterbuf
- the buffer
public static State getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |