|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.slurm.gf.GFParserCallback
Abstract class for handling commands encountered while parsing generic font files.
The various commands of the generic font language and their meanings are defined in the original gftype program.
GFParser
,
GFFile
Constructor Summary | |
GFParserCallback()
|
Method Summary | |
abstract void |
badGF(java.lang.String msg)
respond to an error from which the parser cannot recover |
abstract void |
error(int label,
java.lang.String msg)
respond to an error encountered during parsing |
abstract void |
handleBOCCommand(BOCCommand c)
respond to a boc command |
abstract void |
handleCharLocCommand(CharLocCommand c)
respond to a charloc command |
protected void |
handleCommand(Command c)
respond to an arbitrary command, based on its opcode |
abstract void |
handleEOCCommand(EOCCommand c)
respond to an eoc command |
abstract void |
handleNewRowCommand(NewRowCommand c)
respond to a newrow command |
abstract void |
handleNoOpCommand(NoOpCommand c)
respond to a noop command |
abstract void |
handlePaintCommand(PaintCommand c)
respond to a paint command |
abstract void |
handlePostCommand(PostCommand c)
respond to a post command |
abstract void |
handlePostPostCommand(PostPostCommand c)
respond to a postpost command |
abstract void |
handlePreCommand(PreCommand c)
respond to a pre command |
abstract void |
handleSkipCommand(SkipCommand c)
respond to a skip command |
abstract void |
handleUndefinedCommand(UndefinedCommand c)
respond to an undefined command |
abstract void |
handleXXXCommand(XXXCommand c)
respond to an xxx command |
abstract void |
handleYYYCommand(YYYCommand c)
respond to a yyy command |
abstract void |
startSpecialCommands(int location)
respond to any "special" commands that occur before a character or before the post command |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public GFParserCallback()
Method Detail |
public abstract void badGF(java.lang.String msg) throws GFFileFormatException
public abstract void error(int label, java.lang.String msg)
public abstract void startSpecialCommands(int location)
public abstract void handlePaintCommand(PaintCommand c)
public abstract void handleBOCCommand(BOCCommand c)
public abstract void handleEOCCommand(EOCCommand c)
public abstract void handleSkipCommand(SkipCommand c)
public abstract void handleNewRowCommand(NewRowCommand c)
public abstract void handleXXXCommand(XXXCommand c)
public abstract void handleYYYCommand(YYYCommand c)
public abstract void handleNoOpCommand(NoOpCommand c)
public abstract void handleCharLocCommand(CharLocCommand c)
public abstract void handlePreCommand(PreCommand c)
public abstract void handlePostCommand(PostCommand c)
public abstract void handlePostPostCommand(PostPostCommand c)
public abstract void handleUndefinedCommand(UndefinedCommand c)
protected final void handleCommand(Command c)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |