⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timeperiodvalues.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the range description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jfree/data/time/TimePeriod.html" title="interface in org.jfree.data.time">TimePeriod</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimePeriodValues.html#getTimePeriod(int)">getTimePeriod</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the time period at the specified index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimePeriodValues.html#getValue(int)">getValue</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value at the specified index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimePeriodValues.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hash code value for the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimePeriodValues.html#setDomainDescription(java.lang.String)">setDomainDescription</A></B>(java.lang.String&nbsp;description)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the domain description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimePeriodValues.html#setRangeDescription(java.lang.String)">setRangeDescription</A></B>(java.lang.String&nbsp;description)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the range description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimePeriodValues.html#update(int, java.lang.Number)">update</A></B>(int&nbsp;index,       java.lang.Number&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates (changes) the value of a data item.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.data.Series"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.data.<A HREF="../../../../org/jfree/data/Series.html" title="class in org.jfree.data">Series</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/Series.html#addChangeListener(org.jfree.data.SeriesChangeListener)">addChangeListener</A>, <A HREF="../../../../org/jfree/data/Series.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../../org/jfree/data/Series.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A>, <A HREF="../../../../org/jfree/data/Series.html#fireSeriesChanged()">fireSeriesChanged</A>, <A HREF="../../../../org/jfree/data/Series.html#getDescription()">getDescription</A>, <A HREF="../../../../org/jfree/data/Series.html#getName()">getName</A>, <A HREF="../../../../org/jfree/data/Series.html#getNotify()">getNotify</A>, <A HREF="../../../../org/jfree/data/Series.html#notifyListeners(org.jfree.data.SeriesChangeEvent)">notifyListeners</A>, <A HREF="../../../../org/jfree/data/Series.html#removeChangeListener(org.jfree.data.SeriesChangeListener)">removeChangeListener</A>, <A HREF="../../../../org/jfree/data/Series.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, <A HREF="../../../../org/jfree/data/Series.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../org/jfree/data/Series.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../org/jfree/data/Series.html#setNotify(boolean)">setNotify</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="DEFAULT_DOMAIN_DESCRIPTION"><!-- --></A><H3>DEFAULT_DOMAIN_DESCRIPTION</H3><PRE>protected static final java.lang.String <B>DEFAULT_DOMAIN_DESCRIPTION</B></PRE><DL><DD>Default value for the domain description.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.TimePeriodValues.DEFAULT_DOMAIN_DESCRIPTION">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_RANGE_DESCRIPTION"><!-- --></A><H3>DEFAULT_RANGE_DESCRIPTION</H3><PRE>protected static final java.lang.String <B>DEFAULT_RANGE_DESCRIPTION</B></PRE><DL><DD>Default value for the range description.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.TimePeriodValues.DEFAULT_RANGE_DESCRIPTION">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TimePeriodValues(java.lang.String)"><!-- --></A><H3>TimePeriodValues</H3><PRE>public <B>TimePeriodValues</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Creates a new (empty) collection of time period values.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the series.</DL><HR><A NAME="TimePeriodValues(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>TimePeriodValues</H3><PRE>public <B>TimePeriodValues</B>(java.lang.String&nbsp;name,                        java.lang.String&nbsp;domain,                        java.lang.String&nbsp;range)</PRE><DL><DD>Creates a new time series that contains no data. <P> Descriptions can be specified for the domain and range.  One situation where this is helpful is when generating a chart for the time series - axis labels can be taken from the domain and range description.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the series.<DD><CODE>domain</CODE> - the domain description.<DD><CODE>range</CODE> - the range description.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getDomainDescription()"><!-- --></A><H3>getDomainDescription</H3><PRE>public java.lang.String <B>getDomainDescription</B>()</PRE><DL><DD>Returns the domain description.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the domain description.</DL></DD></DL><HR><A NAME="setDomainDescription(java.lang.String)"><!-- --></A><H3>setDomainDescription</H3><PRE>public void <B>setDomainDescription</B>(java.lang.String&nbsp;description)</PRE><DL><DD>Sets the domain description. <P> A property change event is fired, and an undoable edit is posted.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - the new description.</DL></DD></DL><HR><A NAME="getRangeDescription()"><!-- --></A><H3>getRangeDescription</H3><PRE>public java.lang.String <B>getRangeDescription</B>()</PRE><DL><DD>Returns the range description.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the range description.</DL></DD></DL><HR><A NAME="setRangeDescription(java.lang.String)"><!-- --></A><H3>setRangeDescription</H3><PRE>public void <B>setRangeDescription</B>(java.lang.String&nbsp;description)</PRE><DL><DD>Sets the range description. <P> Registered listeners are notified of the change.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - the new description.</DL></DD></DL><HR><A NAME="getItemCount()"><!-- --></A><H3>getItemCount</H3><PRE>public int <B>getItemCount</B>()</PRE><DL><DD>Returns the number of items in the series.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the item count.</DL></DD></DL><HR><A NAME="getDataItem(int)"><!-- --></A><H3>getDataItem</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimePeriodValue.html" title="class in org.jfree.data.time">TimePeriodValue</A> <B>getDataItem</B>(int&nbsp;index)</PRE><DL><DD>Returns one data item for the series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the item index (zero-based).<DT><B>Returns:</B><DD>one data item for the series.</DL></DD></DL><HR><A NAME="getTimePeriod(int)"><!-- --></A><H3>getTimePeriod</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimePeriod.html" title="interface in org.jfree.data.time">TimePeriod</A> <B>getTimePeriod</B>(int&nbsp;index)</PRE><DL><DD>Returns the time period at the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the data pair.<DT><B>Returns:</B><DD>the time period at the specified index.</DL></DD></DL><HR><A NAME="getValue(int)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <B>getValue</B>(int&nbsp;index)</PRE><DL><DD>Returns the value at the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - index of a value.<DT><B>Returns:</B><DD>the value at the specified index.</DL></DD></DL><HR><A NAME="add(org.jfree.data.time.TimePeriodValue)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/jfree/data/time/TimePeriodValue.html" title="class in org.jfree.data.time">TimePeriodValue</A>&nbsp;item)</PRE><DL><DD>Adds a data item to the series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>item</CODE> - the (timeperiod, value) pair.</DL></DD></DL><HR><A NAME="add(org.jfree.data.time.TimePeriod, double)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/jfree/data/time/TimePeriod.html" title="interface in org.jfree.data.time">TimePeriod</A>&nbsp;period,                double&nbsp;value)</PRE><DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -