B C E G H M N P R S T U X Y

B

badGF(String) - Method in class com.slurm.gf.GFParserCallback
respond to an error from which the parser cannot recover
badGF(String) - Method in class com.slurm.gf.SimpleGFParserCallback
 
badGF(String) - Method in class com.slurm.gf.GF2GIFCallback
 
badGF(String) - Method in class com.slurm.gf.GFTypeCallback
 
BOCCommand - class com.slurm.gf.BOCCommand.
Encapsulates a boc command and its parameters.
BOCCommand(int, int, int, int, int, int, int, int) - Constructor for class com.slurm.gf.BOCCommand
 

C

CharLocCommand - class com.slurm.gf.CharLocCommand.
Encapsulates a charloc command and its parameters.
CharLocCommand(int, int, int, int, int, int, int) - Constructor for class com.slurm.gf.CharLocCommand
 
com.slurm.gf - package com.slurm.gf
Contains classes for parsing and manipulating "generic font" files.
Command - class com.slurm.gf.Command.
Abstract class to encapsulate a command in the generic font "language"" Concrete subclasses allow access to the fields of the various commands.
Command(int, int) - Constructor for class com.slurm.gf.Command
Creates a Command object with the specified location and opcode.

E

EOCCommand - class com.slurm.gf.EOCCommand.
Encapsulates an eoc command.
EOCCommand(int, int) - Constructor for class com.slurm.gf.EOCCommand
 
eof() - Method in class com.slurm.gf.GFFile
Tests for end of file.
error(int, String) - Method in class com.slurm.gf.GFParserCallback
respond to an error encountered during parsing
error(int, String) - Method in class com.slurm.gf.GF2GIFCallback
 
error(int, String) - Method in class com.slurm.gf.GFTypeCallback
 
error(String) - Method in class com.slurm.gf.SimpleGFParserCallback
 

G

getBeginPointer() - Method in class com.slurm.gf.CharLocCommand
 
getCharacterCode() - Method in class com.slurm.gf.BOCCommand
 
getCharacterResidue() - Method in class com.slurm.gf.CharLocCommand
 
getCheckSum() - Method in class com.slurm.gf.PostCommand
 
getCommentBytes() - Method in class com.slurm.gf.PreCommand
 
getDesignSize() - Method in class com.slurm.gf.PostCommand
 
getDX() - Method in class com.slurm.gf.CharLocCommand
 
getDY() - Method in class com.slurm.gf.CharLocCommand
 
getHPPP() - Method in class com.slurm.gf.PostCommand
 
getIDByte() - Method in class com.slurm.gf.PreCommand
 
getLocation() - Method in class com.slurm.gf.Command
 
getMaxM() - Method in class com.slurm.gf.PostCommand
 
getMaxM() - Method in class com.slurm.gf.BOCCommand
 
getMaxN() - Method in class com.slurm.gf.PostCommand
 
getMaxN() - Method in class com.slurm.gf.BOCCommand
 
getMinM() - Method in class com.slurm.gf.PostCommand
 
getMinM() - Method in class com.slurm.gf.BOCCommand
 
getMinN() - Method in class com.slurm.gf.PostCommand
 
getMinN() - Method in class com.slurm.gf.BOCCommand
 
getNumPixels() - Method in class com.slurm.gf.PaintCommand
 
getOffset() - Method in class com.slurm.gf.NewRowCommand
 
getOpCode() - Method in class com.slurm.gf.Command
 
getPostCommand() - Method in class com.slurm.gf.GFFile
Reads the (hopefully unique) Post command in this file.
getPostLoc() - Method in class com.slurm.gf.PostPostCommand
 
getPostSpecialPointer() - Method in class com.slurm.gf.PostCommand
 
getPreviousCharacterPointer() - Method in class com.slurm.gf.BOCCommand
 
getRows() - Method in class com.slurm.gf.SkipCommand
 
getTotalChars() - Method in class com.slurm.gf.GF2GIFCallback
 
getTotalChars() - Method in class com.slurm.gf.GFTypeCallback
 
getVPPP() - Method in class com.slurm.gf.PostCommand
 
getWidth() - Method in class com.slurm.gf.CharLocCommand
 
getXBytes() - Method in class com.slurm.gf.XXXCommand
 
getXLength() - Method in class com.slurm.gf.XXXCommand
 
getYBytes() - Method in class com.slurm.gf.YYYCommand
 
GF2GIFCallback - class com.slurm.gf.GF2GIFCallback.
Set of callback functions to create GIF images of characters as they are encountered while parsing a generic font file.
GF2GIFCallback() - Constructor for class com.slurm.gf.GF2GIFCallback
 
GF2GIFCallback(Color, Color) - Constructor for class com.slurm.gf.GF2GIFCallback
 
GF2GIFCallback(Color, Color, boolean) - Constructor for class com.slurm.gf.GF2GIFCallback
 
GF2GIFCallback(Color, Color, boolean, boolean) - Constructor for class com.slurm.gf.GF2GIFCallback
 
GF2GIFCallback(Color, Color, boolean, boolean, int, int, String, String) - Constructor for class com.slurm.gf.GF2GIFCallback
Creates a new GF2GIFCallback.
GF2GIFCallback(Color, Color, boolean, boolean, String, String) - Constructor for class com.slurm.gf.GF2GIFCallback
 
GF2GIFs - class com.slurm.gf.GF2GIFs.
Application to convert a generic font file into a set of GIF image files.
GF2GIFs() - Constructor for class com.slurm.gf.GF2GIFs
 
GFBadCharException - exception com.slurm.gf.GFBadCharException.
Thrown to indicate a format error encountered while parsing a character in a generic font file.
GFBadCharException() - Constructor for class com.slurm.gf.GFBadCharException
Creates a GFBadCharException with no detail message.
GFBadCharException(String) - Constructor for class com.slurm.gf.GFBadCharException
Creates a GFBadCharException with the given detail message.
GFFile - class com.slurm.gf.GFFile.
Utility class for reading data out of a binary file that represents a generic font.
GFFile(String) - Constructor for class com.slurm.gf.GFFile
Creates a GF file stream to read from the file with the specified name.
GFFileFormatException - exception com.slurm.gf.GFFileFormatException.
Thrown to indicate a format error in a generic font file.
GFFileFormatException() - Constructor for class com.slurm.gf.GFFileFormatException
Creates a GFFileFormatException with no detail message.
GFFileFormatException(String) - Constructor for class com.slurm.gf.GFFileFormatException
Creates a GFFileFormatException with no detail message.
GFParser - class com.slurm.gf.GFParser.
Class to parse a generic font file.
GFParser(GFFile, GFParserCallback) - Constructor for class com.slurm.gf.GFParser
Creates a GFParser object that reads commands from the given file and calls various methods on the given GFParserCallback object according to the commands that are encountered.
GFParserCallback - class com.slurm.gf.GFParserCallback.
Abstract class for handling commands encountered while parsing generic font files.
GFParserCallback() - Constructor for class com.slurm.gf.GFParserCallback
 
GFType - class com.slurm.gf.GFType.
Application emulating the behavior of the original gftype program by D. R. Fuchs.
GFType() - Constructor for class com.slurm.gf.GFType
 
GFTypeCallback - class com.slurm.gf.GFTypeCallback.
This implemenation of GFParserCallback responds to generic font commands in such a way as to reproduce the behavior of the original gftype program.
GFTypeCallback(boolean, boolean) - Constructor for class com.slurm.gf.GFTypeCallback
Creates a GFTypeCallback object with the specified choice of output.

H

handleBOCCommand(BOCCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a boc command
handleBOCCommand(BOCCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleBOCCommand(BOCCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleBOCCommand(BOCCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleCharLocCommand(CharLocCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a charloc command
handleCharLocCommand(CharLocCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleCharLocCommand(CharLocCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleCharLocCommand(CharLocCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleCommand(Command) - Method in class com.slurm.gf.GFParserCallback
respond to an arbitrary command, based on its opcode
handleEOCCommand(EOCCommand) - Method in class com.slurm.gf.GFParserCallback
respond to an eoc command
handleEOCCommand(EOCCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleEOCCommand(EOCCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleEOCCommand(EOCCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleNewRowCommand(NewRowCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a newrow command
handleNewRowCommand(NewRowCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleNewRowCommand(NewRowCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleNewRowCommand(NewRowCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleNoOpCommand(NoOpCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a noop command
handleNoOpCommand(NoOpCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleNoOpCommand(NoOpCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleNoOpCommand(NoOpCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handlePaintCommand(PaintCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a paint command
handlePaintCommand(PaintCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handlePaintCommand(PaintCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handlePaintCommand(PaintCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handlePostCommand(PostCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a post command
handlePostCommand(PostCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handlePostCommand(PostCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handlePostCommand(PostCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handlePostPostCommand(PostPostCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a postpost command
handlePostPostCommand(PostPostCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handlePostPostCommand(PostPostCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handlePostPostCommand(PostPostCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handlePreCommand(PreCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a pre command
handlePreCommand(PreCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handlePreCommand(PreCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handlePreCommand(PreCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleSkipCommand(SkipCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a skip command
handleSkipCommand(SkipCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleSkipCommand(SkipCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleSkipCommand(SkipCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleUndefinedCommand(UndefinedCommand) - Method in class com.slurm.gf.GFParserCallback
respond to an undefined command
handleUndefinedCommand(UndefinedCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleUndefinedCommand(UndefinedCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleUndefinedCommand(UndefinedCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleXXXCommand(XXXCommand) - Method in class com.slurm.gf.GFParserCallback
respond to an xxx command
handleXXXCommand(XXXCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleXXXCommand(XXXCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleXXXCommand(XXXCommand) - Method in class com.slurm.gf.GFTypeCallback
 
handleYYYCommand(YYYCommand) - Method in class com.slurm.gf.GFParserCallback
respond to a yyy command
handleYYYCommand(YYYCommand) - Method in class com.slurm.gf.SimpleGFParserCallback
 
handleYYYCommand(YYYCommand) - Method in class com.slurm.gf.GF2GIFCallback
 
handleYYYCommand(YYYCommand) - Method in class com.slurm.gf.GFTypeCallback
 

M

main(String[]) - Static method in class com.slurm.gf.GF2GIFs
 
main(String[]) - Static method in class com.slurm.gf.GFType
 

N

NewRowCommand - class com.slurm.gf.NewRowCommand.
Encapsulates a newrow command and its parameters.
NewRowCommand(int, int, int) - Constructor for class com.slurm.gf.NewRowCommand
 
nlError(Command, String) - Method in class com.slurm.gf.GFTypeCallback
 
NoOpCommand - class com.slurm.gf.NoOpCommand.
Encapsulates a noop command.
NoOpCommand(int, int) - Constructor for class com.slurm.gf.NoOpCommand
 

P

PaintCommand - class com.slurm.gf.PaintCommand.
Encapsulates a paint command and its parameters.
PaintCommand(int, int, int) - Constructor for class com.slurm.gf.PaintCommand
 
parse() - Method in class com.slurm.gf.GFParser
Parses the file, calling methods of the callback as it goes.
PostCommand - class com.slurm.gf.PostCommand.
Encapsulates a post command and its parameters.
PostCommand(int, int, int, int, int, int, int, int, int, int, int) - Constructor for class com.slurm.gf.PostCommand
 
PostPostCommand - class com.slurm.gf.PostPostCommand.
Encapsulates a postpost command and its parameters.
PostPostCommand(int, int, int) - Constructor for class com.slurm.gf.PostPostCommand
 
PreCommand - class com.slurm.gf.PreCommand.
Encapsulates a pre command and its parameters.
PreCommand(int, int, int, int[]) - Constructor for class com.slurm.gf.PreCommand
 

R

readByteAsInt() - Method in class com.slurm.gf.GFFile
Reads a single byte from the file and returns it as an int.
readCommand() - Method in class com.slurm.gf.GFFile
Reads a GF opcode and its associated parameters.
readFourBytesAsInt() - Method in class com.slurm.gf.GFFile
Reads four bytes from the file and interprets them as an int.
readThreeBytesAsInt() - Method in class com.slurm.gf.GFFile
Reads three bytes from the file and interprets them as an int.
readTwoBytesAsInt() - Method in class com.slurm.gf.GFFile
Reads two bytes from the file and interprets them as an int.

S

Scaled - class com.slurm.gf.Scaled.
Class to represent a scaled integer, i.e., a multiple of 2-16.
Scaled(int) - Constructor for class com.slurm.gf.Scaled
Creates a scaled integer based on the given four bytes.
SimpleGFParserCallback - class com.slurm.gf.SimpleGFParserCallback.
Simple concrete implementation of GFParserCallback that can be used for testing a GFParser.
SimpleGFParserCallback() - Constructor for class com.slurm.gf.SimpleGFParserCallback
 
SkipCommand - class com.slurm.gf.SkipCommand.
Encapsulates a skip command and its parameters.
SkipCommand(int, int, int) - Constructor for class com.slurm.gf.SkipCommand
 
startSpecialCommands(int) - Method in class com.slurm.gf.GFParserCallback
respond to any "special" commands that occur before a character or before the post command
startSpecialCommands(int) - Method in class com.slurm.gf.GF2GIFCallback
 
startSpecialCommands(int) - Method in class com.slurm.gf.GFTypeCallback
 

T

toString() - Method in class com.slurm.gf.Scaled
 

U

UndefinedCommand - class com.slurm.gf.UndefinedCommand.
Convenience class to encapsulate commands found in a generic font file whose opcode does not correspond to that of any of the commands defined in the generic font language.
UndefinedCommand(int, int) - Constructor for class com.slurm.gf.UndefinedCommand
 

X

XXXCommand - class com.slurm.gf.XXXCommand.
Encapsulates an xxx command and its parameters.
XXXCommand(int, int, int, int[]) - Constructor for class com.slurm.gf.XXXCommand
 

Y

YYYCommand - class com.slurm.gf.YYYCommand.
Encapsulates a yyy command and its parameters.
YYYCommand(int, int, int[]) - Constructor for class com.slurm.gf.YYYCommand
 

B C E G H M N P R S T U X Y