📄 chartapplet.html
字号:
<A NAME="barChart"><!-- --></A><H3>
barChart</H3>
<PRE>
public <A HREF="../../../com/objectplanet/chart/BarChart.html">BarChart</A> <B>barChart</B></PRE>
<DL>
<DD>Reference to the BarChart component of the applet. Use it to access the BarChart methods directly via JavaScript or subclasses.</DL>
<HR>
<A NAME="chart"><!-- --></A><H3>
chart</H3>
<PRE>
public <A HREF="../../../com/objectplanet/chart/Chart.html">Chart</A> <B>chart</B></PRE>
<DL>
<DD>The chart component of the applet. Use this reference to access the charts methods directly via JavaScript or subclasses.</DL>
<HR>
<A NAME="dataLoader"><!-- --></A><H3>
dataLoader</H3>
<PRE>
public <A HREF="../../../com/objectplanet/chart/ChartDataLoader.html">ChartDataLoader</A> <B>dataLoader</B></PRE>
<DL>
<DD>The ChartDataLoader is used to load data read by the ChartApplet to the Chart.</DL>
<HR>
<A NAME="labelDelimiter"><!-- --></A><H3>
labelDelimiter</H3>
<PRE>
protected java.lang.String <B>labelDelimiter</B></PRE>
<DL>
<DD>Used as the label delimiter for label string "arrays".</DL>
<HR>
<A NAME="lineChart"><!-- --></A><H3>
lineChart</H3>
<PRE>
public <A HREF="../../../com/objectplanet/chart/LineChart.html">LineChart</A> <B>lineChart</B></PRE>
<DL>
<DD>Reference to the LineChart component of the applet. Use it to access the LineChart methods directly via JavaScript or subclasses.</DL>
<HR>
<A NAME="pieChart"><!-- --></A><H3>
pieChart</H3>
<PRE>
public <A HREF="../../../com/objectplanet/chart/PieChart.html">PieChart</A> <B>pieChart</B></PRE>
<DL>
<DD>Reference to the PieChart component of the applet. Use it to access the PieChart methods directly via JavaScript or subclasses.</DL>
<HR>
<A NAME="plotterChart"><!-- --></A><H3>
plotterChart</H3>
<PRE>
public java.awt.Component <B>plotterChart</B></PRE>
<DL>
<DD>Reference to the PlotterChart component of the applet. Use it to access the PlotterChart methods directly via JavaScript or subclasses.</DL>
<HR>
<A NAME="sampleCountRead"><!-- --></A><H3>
sampleCountRead</H3>
<PRE>
protected int <B>sampleCountRead</B></PRE>
<DL>
<DD>This is set after loadParameters() has been called in this class.</DL>
<HR>
<A NAME="seriesCountRead"><!-- --></A><H3>
seriesCountRead</H3>
<PRE>
protected int <B>seriesCountRead</B></PRE>
<DL>
<DD>This is set after loadParameters() has been called in this class.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="ChartApplet()"><!-- --></A><H3>
ChartApplet</H3>
<PRE>
public <B>ChartApplet</B>()</PRE>
<DL>
<DD>Creates the chart applet.</DL>
<HR>
<A NAME="ChartApplet(java.lang.String)"><!-- --></A><H3>
ChartApplet</H3>
<PRE>
public <B>ChartApplet</B>(java.lang.String type)</PRE>
<DL>
<DD>Creates the chart applet.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="callJavaScript(java.lang.String)"><!-- --></A><H3>
callJavaScript</H3>
<PRE>
public void <B>callJavaScript</B>(java.lang.String javascript)</PRE>
<DL>
<DD>Calls a javascript function in the applet page.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>javascript</CODE> - The javascript URL.</DL>
</DD>
</DL>
<HR>
<A NAME="createChart(java.lang.String, java.lang.String)"><!-- --></A><H3>
createChart</H3>
<PRE>
protected <A HREF="../../../com/objectplanet/chart/Chart.html">Chart</A> <B>createChart</B>(java.lang.String type, java.lang.String className)</PRE>
<DL>
<DD>This is called by init() and creates the chart of the specified type used for the applet. It can be overridden by a subclass to use a specialized classes for the chart applet.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>className</CODE> - The type of the chart.<DD><CODE>className</CODE> - The class name of the chart.<DT><B>Returns:</B><DD>The chart of the specified type.</DL>
</DD>
</DL>
<HR>
<A NAME="createColor(java.lang.String)"><!-- --></A><H3>
createColor</H3>
<PRE>
public static java.awt.Color <B>createColor</B>(java.lang.String color)</PRE>
<DL>
<DD>Creates a color based on the string. The string can either be the name of a java defined color, a comma seperated RGB string (255,255,255), or a 6-digit hex-string (#af10cd).<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The color object, or null if string is invalid.</DL>
</DD>
</DL>
<HR>
<A NAME="createFont(java.lang.String, java.lang.String, int, int)"><!-- --></A><H3>
createFont</H3>
<PRE>
public java.awt.Font <B>createFont</B>(java.lang.String value, java.lang.String name, int type, int size)</PRE>
<DL>
<DD>Creates a font based on the information in the specified string.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The font string value.<DD><CODE>name</CODE> - The name of the default font.<DD><CODE>type</CODE> - The default type (Font.PLAIN, Font.BOLD, Font.ITALIC).<DD><CODE>size</CODE> - The default size.</DL>
</DD>
</DL>
<HR>
<A NAME="destroy()"><!-- --></A><H3>
destroy</H3>
<PRE>
public void <B>destroy</B>()</PRE>
<DL>
<DD>Releases all the resources claimed by the applet.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>destroy</CODE> in class <CODE>java.applet.Applet</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="doLayout()"><!-- --></A><H3>
doLayout</H3>
<PRE>
public void <B>doLayout</B>()</PRE>
<DL>
<DD>Sets the proper size of the chart.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>doLayout</CODE> in class <CODE>java.awt.Container</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getAppletContext()"><!-- --></A><H3>
getAppletContext</H3>
<PRE>
public java.applet.AppletContext <B>getAppletContext</B>()</PRE>
<DL>
<DD>Gets the applet context. If the the table is used in another component and the parent applet has been set, the parent applets context is gotten.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>getAppletContext</CODE> in class <CODE>java.applet.Applet</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getColorValues(java.lang.String)"><!-- --></A><H3>
getColorValues</H3>
<PRE>
protected java.awt.Color[] <B>getColorValues</B>(java.lang.String string)</PRE>
<DL>
<DD>Converts a comma seperated string to a color array.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>string</CODE> - The comma seperated string.<DT><B>Returns:</B><DD>A color array with the values, or null if not found.</DL>
</DD>
</DL>
<HR>
<A NAME="getDocumentBase()"><!-- --></A><H3>
getDocumentBase</H3>
<PRE>
public java.net.URL <B>getDocumentBase</B>()</PRE>
<DL>
<DD>Gets the document base.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>getDocumentBase</CODE> in class <CODE>java.applet.Applet</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getDoubleValues(java.lang.String)"><!-- --></A><H3>
getDoubleValues</H3>
<PRE>
protected static java.lang.Double[] <B>getDoubleValues</B>(java.lang.String string)</PRE>
<DL>
<DD>Convers a string parameter to an array of double values.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>string</CODE> - The array of string numbers.<DT><B>Returns:</B><DD>An array with the values, or null if not found.</DL>
</DD>
</DL>
<HR>
<A NAME="getParameter(java.lang.String)"><!-- --></A><H3>
getParameter</H3>
<PRE>
public java.lang.String <B>getParameter</B>(java.lang.String parameter)</PRE>
<DL>
<DD>Gets the value of the specified applet parameter. If a prefix is specified, this is added in front of the specified parameter name.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>getParameter</CODE> in class <CODE>java.applet.Applet</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parameter</CODE> - The name of the parameter.<DT><B>Returns:</B><DD>The value of the parameter, or null if parameter is not specified.</DL>
</DD>
</DL>
<HR>
<A NAME="getParameterPrefix()"><!-- --></A><H3>
getParameterPrefix</H3>
<PRE>
public java.lang.String <B>getParameterPrefix</B>()</PRE>
<DL>
<DD>Gets the prefix used when reading applet parameters.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The prefix used, or null if no prefix is used.</DL>
</DD>
</DL>
<HR>
<A NAME="getStringValues(java.lang.String, java.lang.String)"><!-- --></A><H3>
getStringValues</H3>
<PRE>
protected java.lang.String[] <B>getStringValues</B>(java.lang.String string, java.lang.String delimiter)</PRE>
<DL>
<DD>Converts a comma seperated string to an array of strings.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>string</CODE> - The string parameter to return the values from.<DD><CODE>delimiter</CODE> - The field delimiter.<DT><B>Returns:</B><DD>A string array.</DL>
</DD>
</DL>
<HR>
<A NAME="init()"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -