selgraphics.html
来自「关于自组织神经网络的一种新结构程序,并包含了其它几种神经网络的程序比较」· HTML 代码 · 共 144 行
HTML
144 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><!-- Generated by javadoc on Mon Oct 19 18:24:20 GMT+03:30 1998 --><title> Class SelGraphics</title></head><body><a name="_top_"></a><h1> Class SelGraphics</h1><pre>java.lang.Object | +----java.awt.Component | +----java.awt.Canvas | +----SelGraphics</pre><hr><dl> <dt> public class <b>SelGraphics</b> <dt> extends Canvas</dl>Generates a graph. It scales its axis automatically, so the window is always filled at its maximum.<p><hr><a name="index"></a><h2> <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl> <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#SelGraphics()"><b>SelGraphics</b></a>() <dd> The constructor.</dl><h2> <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#add(double)"><b>add</b></a>(double) <dd> Add the data to the graph. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#clear()"><b>clear</b></a>() <dd> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#paint(java.awt.Graphics)"><b>paint</b></a>(Graphics) <dd> Draws the chart on the screen. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#paintComponents(java.awt.Graphics)"><b>paintComponents</b></a>(Graphics) <dd> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#startNewTrace()"><b>startNewTrace</b></a>() <dd> Initialize the graph. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#update(java.awt.Graphics)"><b>update</b></a>(Graphics) <dd> </dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="SelGraphics"></a><a name="SelGraphics()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>SelGraphics</b><pre> public SelGraphics()</pre><dl> <dd> The constructor.<p></dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="update(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="update"><b>update</b></a><pre> public void update(Graphics g)</pre><dl> <dd><dl> <dt> <b>Overrides:</b> <dd> <a href="java.awt.Component.html#update(java.awt.Graphics)">update</a> in class Component </dl></dd></dl><a name="paintComponents(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="paintComponents"><b>paintComponents</b></a><pre> public void paintComponents(Graphics g)</pre><a name="paint(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="paint"><b>paint</b></a><pre> public void paint(Graphics g)</pre><dl> <dd> Draws the chart on the screen.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> g - The drawing area <dt> <b>Overrides:</b> <dd> <a href="java.awt.Canvas.html#paint(java.awt.Graphics)">paint</a> in class Canvas </dl></dd></dl><a name="add(double)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="add"><b>add</b></a><pre> public void add(double value)</pre><dl> <dd> Add the data to the graph.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> value - The new value for the graph </dl></dd></dl><a name="startNewTrace()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="startNewTrace"><b>startNewTrace</b></a><pre> public void startNewTrace()</pre><dl> <dd> Initialize the graph.<p></dl><a name="clear()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="clear"><b>clear</b></a><pre> public void clear()</pre></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?