📄 graph.buildgraph.html
字号:
<b>level</b><pre> public int level</pre><dl> <dd> The current brace level. At the end of the input if all braces are matched the level should be back to zero.</dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="BuildGraph"></a><a name="BuildGraph(java.io.InputStream, java.applet.Applet)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>BuildGraph</b><pre> public BuildGraph(<a href="java.io.InputStream.html#_top_">InputStream</a> in, <a href="java.applet.Applet.html#_top_">Applet</a> ap)</pre><dl> <dd> Instantiate the class <dl> <dt> <b>Parameters:</b> <dd> in - The inputstream to be read <dd> ap - the driving applet. </dl></dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getGraph()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getGraph"><b>getGraph</b></a><pre> public <a href="java.lang.Object.html#_top_">Object</a> getGraph()</pre><dl> <dd> Get the Graph object that has been built!</dl><a name="getGraphTitle()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getGraphTitle"><b>getGraphTitle</b></a><pre> public <a href="graph.TextLine.html#_top_">TextLine</a> getGraphTitle()</pre><dl> <dd> Get the title of the Graph</dl><a name="getBuilt()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getBuilt"><b>getBuilt</b></a><pre> public <a href="java.util.Vector.html#_top_">Vector</a> getBuilt()</pre><dl> <dd> Get a vector of all the built Classes. Ie the DataSets, Axis, Graph etc. This can be used by an applet to override anything specified in the input file</dl><a name="parse()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="parse"><b>parse</b></a><pre> public void parse()</pre><dl> <dd> This is THE method that parses the input file and constructs the plot.</dl><a name="isContext(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="isContext"><b>isContext</b></a><pre> protected boolean isContext(int token)</pre><dl> <dd> Check if the object is on the "to be built" stack. This way context can be checked so potential errors flagged. <dl> <dt> <b>Parameters:</b> <dd> token - is this the object we are currently building? <dt> <b>Returns:</b> <dd> <i>true</i> if the token matches current object being built </dl></dl><a name="build(graph.NamedObject)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="build"><b>build</b></a><pre> protected boolean build(<a href="graph.NamedObject.html#_top_">NamedObject</a> nobj)</pre><dl> <dd> Based on the parsed object build something. <dl> <dt> <b>Parameters:</b> <dd> nobj - The object to be built <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful. </dl></dl><a name="buildGraph(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildGraph"><b>buildGraph</b></a><pre> protected boolean buildGraph(int type)</pre><dl> <dd> Pop things off the object stack and build the graph <dl> <dt> <b>Parameters:</b> <dd> type - Type of graph to build, Graph2D, G2Dint, Contour. <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="buildContour(graph.NamedObject)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildContour"><b>buildContour</b></a><pre> protected boolean buildContour(<a href="graph.NamedObject.html#_top_">NamedObject</a> nobj)</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="buildFont()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildFont"><b>buildFont</b></a><pre> protected boolean buildFont()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="buildTitle()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildTitle"><b>buildTitle</b></a><pre> protected boolean buildTitle()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="buildLabel()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildLabel"><b>buildLabel</b></a><pre> protected boolean buildLabel()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="buildMarker()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildMarker"><b>buildMarker</b></a><pre> protected boolean buildMarker()</pre><a name="buildData(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildData"><b>buildData</b></a><pre> protected boolean buildData(int type)</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="arrayFromFunction(graph.ParseFunction, int, double, double)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="arrayFromFunction"><b>arrayFromFunction</b></a><pre> protected double[] arrayFromFunction(<a href="graph.ParseFunction.html#_top_">ParseFunction</a> f, int nx, double xmin, double xmax)</pre><a name="arrayFromFunction(graph.ParseFunction, int, double, double, int, double, double)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="arrayFromFunction"><b>arrayFromFunction</b></a><pre> protected double[] arrayFromFunction(<a href="graph.ParseFunction.html#_top_">ParseFunction</a> f, int nx, double xmin, double xmax, int ny, double ymin, double ymax)</pre><a name="buildAxis()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildAxis"><b>buildAxis</b></a><pre> protected boolean buildAxis()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="buildGrid()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildGrid"><b>buildGrid</b></a><pre> protected boolean buildGrid()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><a name="buildZero()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="buildZero"><b>buildZero</b></a><pre> protected boolean buildZero()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> <i>true</i> if the build was successful </dl></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-graph.html">This Package</a> <a href="graph.Axis.html#_top_">Previous</a> <a href="graph.Contour.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -