All Packages Class Hierarchy This Package Previous Next Index
Class grapher.BuildGraph
java.lang.Object
|
+----java.io.StreamTokenizer
|
+----grapher.ScanWord
|
+----grapher.BuildGraph
- public class BuildGraph
- extends grapher.ScanWord
This class will parse a description file and build the
plot based on the instructions in the file
-
applet
-
-
ATTACH
-
-
AXIS
-
-
BEGIN
- Constants
-
BOLD
-
-
BOTTOM
-
-
Build
-
-
built
-
-
COLOR
-
-
DATA
-
-
DEBUG
-
-
debug
-
-
END
-
-
FONT
-
-
G2DINT
-
-
graph
-
-
GRAPH2D
-
-
graphtitle
-
-
GRID
-
-
GRID_COLOR
-
-
GRID_OFF
-
-
GRID_ON
-
-
ITALIC
-
-
LABEL
-
-
LABEL_COLOR
-
-
LABEL_FONT
-
-
LEFT
-
-
level
-
-
lineno
- Public Variables
-
MARKER
-
-
MARKER_COLOR
-
-
MARKER_SIZE
-
-
MARKER_STYLE
-
-
MARKER_URL
-
-
NAME
-
-
object
-
-
OFF
-
-
ON
-
-
PLAIN
-
-
RIGHT
-
-
SIZE
-
-
STYLE
-
-
TITLE
-
-
TOP
-
-
URL
-
-
ZERO
-
-
ZERO_COLOR
-
-
ZERO_OFF
-
-
ZERO_ON
-
-
BuildGraph(InputStream, Applet)
- Constructors
-
build(NamedObject)
-
-
buildAxis()
-
-
buildData()
-
-
buildFont()
-
-
buildGraph(int)
-
-
buildGrid()
-
-
buildLabel()
-
-
buildMarker()
-
-
buildTitle()
-
-
buildZero()
-
-
debugMessage(String, int)
-
-
errorAtLine(String)
-
-
getBuilt()
-
-
getGraph()
-
Public Methods
-
getGraphTitle()
-
-
isContext(int)
-
Protected Methods
-
parse()
-
BEGIN
static final int BEGIN
- Constants
GRAPH2D
static final int GRAPH2D
MARKER
static final int MARKER
AXIS
static final int AXIS
URL
static final int URL
DATA
static final int DATA
SIZE
static final int SIZE
COLOR
static final int COLOR
NAME
static final int NAME
TITLE
static final int TITLE
LABEL
static final int LABEL
FONT
static final int FONT
STYLE
static final int STYLE
BOTTOM
static final int BOTTOM
TOP
static final int TOP
LEFT
static final int LEFT
RIGHT
static final int RIGHT
END
static final int END
G2DINT
static final int G2DINT
OFF
static final int OFF
ON
static final int ON
ATTACH
static final int ATTACH
PLAIN
static final int PLAIN
BOLD
static final int BOLD
ITALIC
static final int ITALIC
DEBUG
static final int DEBUG
GRID
static final int GRID
ZERO
static final int ZERO
MARKER_STYLE
static final int MARKER_STYLE
MARKER_COLOR
static final int MARKER_COLOR
MARKER_SIZE
static final int MARKER_SIZE
LABEL_COLOR
static final int LABEL_COLOR
LABEL_FONT
static final int LABEL_FONT
GRID_COLOR
static final int GRID_COLOR
GRID_OFF
static final int GRID_OFF
ZERO_COLOR
static final int ZERO_COLOR
ZERO_OFF
static final int ZERO_OFF
MARKER_URL
static final int MARKER_URL
GRID_ON
static final int GRID_ON
ZERO_ON
static final int ZERO_ON
Build
protected java.util.Stack Build
object
protected java.util.Stack object
built
protected java.util.Vector built
graph
protected java.lang.Object graph
graphtitle
protected grapher.TextLine graphtitle
applet
protected java.applet.Applet applet
debug
protected boolean debug
lineno
public int lineno
- Public Variables
level
public int level
BuildGraph
public BuildGraph(java.io.InputStream in,
java.applet.Applet ap)
- Constructors
getGraph
public java.lang.Object getGraph()
- Public Methods
getGraphTitle
public grapher.TextLine getGraphTitle()
getBuilt
public java.util.Vector getBuilt()
parse
public void parse()
isContext
protected boolean isContext(int token)
- Protected Methods
build
protected boolean build(grapher.NamedObject nobj)
buildGraph
protected boolean buildGraph(int type)
buildFont
protected boolean buildFont()
buildTitle
protected boolean buildTitle()
buildLabel
protected boolean buildLabel()
buildMarker
protected boolean buildMarker()
buildData
protected boolean buildData()
buildAxis
protected boolean buildAxis()
buildGrid
protected boolean buildGrid()
buildZero
protected boolean buildZero()
errorAtLine
protected void errorAtLine(java.lang.String s)
debugMessage
protected void debugMessage(java.lang.String s,
int token)
All Packages Class Hierarchy This Package Previous Next Index