?? graph.axis.html
字號:
<dd> <a href="graph.DataSet.html#_top_">DataSet</a> </dl></dl><a name="detachDataSet(graph.DataSet)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="detachDataSet"><b>detachDataSet</b></a><pre> public void detachDataSet(<a href="graph.DataSet.html#_top_">DataSet</a> d)</pre><dl> <dd> Detach an attached DataSet <dl> <dt> <b>Parameters:</b> <dd> d - dataSet to detach <dt> <b>See Also:</b> <dd> <a href="graph.DataSet.html#_top_">DataSet</a> </dl></dl><a name="detachAll()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="detachAll"><b>detachAll</b></a><pre> public void detachAll()</pre><dl> <dd> Detach All attached dataSets.</dl><a name="getDataMin()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDataMin"><b>getDataMin</b></a><pre> public double getDataMin()</pre><dl> <dd> Return the minimum value of All datasets attached to the axis. <dl> <dt> <b>Returns:</b> <dd> Data minimum </dl></dl><a name="getDataMax()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDataMax"><b>getDataMax</b></a><pre> public double getDataMax()</pre><dl> <dd> Return the maximum value of All datasets attached to the axis. <dl> <dt> <b>Returns:</b> <dd> Data maximum </dl></dl><a name="getInteger(double)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getInteger"><b>getInteger</b></a><pre> public int getInteger(double v)</pre><dl> <dd> Return the pixel equivalent of the passed data value. Using the position of the axis and the maximum and minimum values convertthe data value into a pixel value <dl> <dt> <b>Parameters:</b> <dd> v - data value to convert <dt> <b>Returns:</b> <dd> equivalent pixel value <dt> <b>See Also:</b> <dd> <a href="#getDouble( )">getDouble</a> </dl></dl><a name="getDouble(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDouble"><b>getDouble</b></a><pre> public double getDouble(int i)</pre><dl> <dd> Return the data value equivalent of the passed pixel position.Using the position of the axis and the maximum and minimum values convertthe pixel position into a data value <dl> <dt> <b>Parameters:</b> <dd> i - pixel value <dt> <b>Returns:</b> <dd> equivalent data value <dt> <b>See Also:</b> <dd> <a href="#getInteger( )">getInteger</a> </dl></dl><a name="resetRange()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="resetRange"><b>resetRange</b></a><pre> public void resetRange()</pre><dl> <dd> Reset the range of the axis (the minimum and maximum values) to thedefault data values.</dl><a name="getAxisPos()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAxisPos"><b>getAxisPos</b></a><pre> public int getAxisPos()</pre><dl> <dd> Return the position of the Axis. <dl> <dt> <b>Returns:</b> <dd> One of Axis.LEFT, Axis.RIGHT, Axis.TOP, or Axis.BOTTOM. </dl></dl><a name="isVertical()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="isVertical"><b>isVertical</b></a><pre> public boolean isVertical()</pre><dl> <dd> If the Axis is Vertical return <i>true</i>.</dl><a name="getAxisWidth(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAxisWidth"><b>getAxisWidth</b></a><pre> public int getAxisWidth(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dd> Return the width of the axis. <dl> <dt> <b>Parameters:</b> <dd> g - graphics context. </dl></dl><a name="positionAxis(int, int, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="positionAxis"><b>positionAxis</b></a><pre> public boolean positionAxis(int xmin, int xmax, int ymin, int ymax)</pre><dl> <dd> Position the axis at the passed coordinates. The coordinates should matchthe type of axis. <dl> <dt> <b>Parameters:</b> <dd> xmin - The minimum X pixel <dd> xmax - The maximum X pixel. These should be equal if the axis is vertical <dd> ymin - The minimum Y pixel <dd> ymax - The maximum Y pixel. These should be equal if the axis is horizontal <dt> <b>Returns:</b> <dd> <i>true</i> if there are no inconsistencies. </dl></dl><a name="drawAxis(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="drawAxis"><b>drawAxis</b></a><pre> public void drawAxis(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dd> Draw the axis using the passed Graphics context. <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context for drawing </dl></dl><a name="setTitleText(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setTitleText"><b>setTitleText</b></a><pre> public void setTitleText(<a href="java.lang.String.html#_top_">String</a> s)</pre><dl> <dd> Set the title of the axis <dl> <dt> <b>Parameters:</b> <dd> s - string containing text. </dl></dl><a name="setTitleColor(java.awt.Color)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setTitleColor"><b>setTitleColor</b></a><pre> public void setTitleColor(<a href="java.awt.Color.html#_top_">Color</a> c)</pre><dl> <dd> Set the color of the title <dl> <dt> <b>Parameters:</b> <dd> c - Color of the title. </dl></dl><a name="setTitleFont(java.awt.Font)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setTitleFont"><b>setTitleFont</b></a><pre> public void setTitleFont(<a href="java.awt.Font.html#_top_">Font</a> f)</pre><dl> <dd> Set the font of the title <dl> <dt> <b>Parameters:</b> <dd> c - Title font. </dl></dl><a name="setTitleRotation(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setTitleRotation"><b>setTitleRotation</b></a><pre> public void setTitleRotation(int a)</pre><dl> <dd> Set the title rotation angle. Only multiples of 90 degrees allowed. <dl> <dt> <b>Parameters:</b> <dd> a - Title rotation angle in degrees. </dl></dl><a name="setLabelColor(java.awt.Color)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelColor"><b>setLabelColor</b></a><pre> public void setLabelColor(<a href="java.awt.Color.html#_top_">Color</a> c)</pre><dl> <dd> Set the color of the labels <dl> <dt> <b>Parameters:</b> <dd> c - Color of the labels. </dl></dl><a name="setLabelFont(java.awt.Font)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelFont"><b>setLabelFont</b></a><pre> public void setLabelFont(<a href="java.awt.Font.html#_top_">Font</a> f)</pre><dl> <dd> Set the font of the labels. <dl> <dt> <b>Parameters:</b> <dd> f - font. </dl></dl><a name="setExponentColor(java.awt.Color)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setExponentColor"><b>setExponentColor</b></a><pre> public void setExponentColor(<a href="java.awt.Color.html#_top_">Color</a> c)</pre><dl> <dd> Set the color of the exponent <dl> <dt> <b>Parameters:</b> <dd> c - Color. </dl></dl><a name="setExponentFont(java.awt.Font)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setExponentFont"><b>setExponentFont</b></a><pre> public void setExponentFont(<a href="java.awt.Font.html#_top_">Font</a> f)</pre><dl> <dd> Set the font of the exponent <dl> <dt> <b>Parameters:</b> <dd> f - font. </dl></dl><a name="setManualRange(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setManualRange"><b>setManualRange</b></a><pre> public void setManualRange(boolean b)</pre><dl> <dd> Is the range of the axis to be set automatically (based on the data)or manually by setting the values Axis.minimum and Axis.maximum? <dl> <dt> <b>Parameters:</b> <dd> b - boolean value. </dl></dl><a name="drawHAxis(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="drawHAxis"><b>drawHAxis</b></a><pre> protected void drawHAxis(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dd> Draw a Horizontal Axis. <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. </dl></dl><a name="drawVAxis(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="drawVAxis"><b>drawVAxis</b></a><pre> protected void drawVAxis(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dd> Draw a Vertical Axis. <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. </dl></dl><a name="attachXdata(graph.DataSet)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="attachXdata"><b>attachXdata</b></a><pre> protected void attachXdata(<a href="graph.DataSet.html#_top_">DataSet</a> d)</pre><dl> <dd> Attach a DataSet to a Horizontal Axis <dl> <dt> <b>Parameters:</b> <dd> d - dataset to attach. </dl></dl><a name="attachYdata(graph.DataSet)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="attachYdata"><b>attachYdata</b></a><pre> protected void attachYdata(<a href="graph.DataSet.html#_top_">DataSet</a> d)</pre><dl> <dd> Attach a DataSet to a Vertical Axis <dl> <dt> <b>Parameters:</b> <dd> d - dataset to attach. </dl></dl><a name="calculateGridLabels()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="calculateGridLabels"><b>calculateGridLabels</b></a><pre> protected void calculateGridLabels()</pre><dl> <dd> calculate the labels</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="Package-graph.html">Previous</a> <a href="graph.BuildGraph.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -