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

📄 timeperiodvalues.html

📁 jfreechart1。0。2的api。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimePeriodValues.html#getRangeDescription()">getRangeDescription</A></B>()</CODE><BR>&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 and fires a property change event.</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 and fires a property change event.</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.general.Series"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.jfree.data.general.<A HREF="../../../../org/jfree/data/general/Series.html" title="class in org.jfree.data.general">Series</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/general/Series.html#addChangeListener(org.jfree.data.general.SeriesChangeListener)">addChangeListener</A>, <A HREF="../../../../org/jfree/data/general/Series.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../../org/jfree/data/general/Series.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A>, <A HREF="../../../../org/jfree/data/general/Series.html#fireSeriesChanged()">fireSeriesChanged</A>, <A HREF="../../../../org/jfree/data/general/Series.html#getDescription()">getDescription</A>, <A HREF="../../../../org/jfree/data/general/Series.html#getKey()">getKey</A>, <A HREF="../../../../org/jfree/data/general/Series.html#getNotify()">getNotify</A>, <A HREF="../../../../org/jfree/data/general/Series.html#notifyListeners(org.jfree.data.general.SeriesChangeEvent)">notifyListeners</A>, <A HREF="../../../../org/jfree/data/general/Series.html#removeChangeListener(org.jfree.data.general.SeriesChangeListener)">removeChangeListener</A>, <A HREF="../../../../org/jfree/data/general/Series.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, <A HREF="../../../../org/jfree/data/general/Series.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../org/jfree/data/general/Series.html#setKey(java.lang.Comparable)">setKey</A>, <A HREF="../../../../org/jfree/data/general/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"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="DEFAULT_DOMAIN_DESCRIPTION"><!-- --></A><H3>DEFAULT_DOMAIN_DESCRIPTION</H3><PRE>protected static final java.lang.String <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.69"><B>DEFAULT_DOMAIN_DESCRIPTION</B></A></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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.72"><B>DEFAULT_RANGE_DESCRIPTION</B></A></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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="TimePeriodValues(java.lang.String)"><!-- --></A><H3>TimePeriodValues</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.106"><B>TimePeriodValues</B></A>(java.lang.String&nbsp;name)</PRE><DL><DD>Creates a new (empty) collection of time period values.<P><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the series.</DL></DL><HR><A NAME="TimePeriodValues(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>TimePeriodValues</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.121"><B>TimePeriodValues</B></A>(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><DL><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></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getDomainDescription()"><!-- --></A><H3>getDomainDescription</H3><PRE>public java.lang.String <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.133"><B>getDomainDescription</B></A>()</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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.142"><B>setDomainDescription</B></A>(java.lang.String&nbsp;description)</PRE><DL><DD>Sets the domain description and fires a property change event.<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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.153"><B>getRangeDescription</B></A>()</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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.162"><B>setRangeDescription</B></A>(java.lang.String&nbsp;description)</PRE><DL><DD>Sets the range description and fires a property change event.<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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.173"><B>getItemCount</B></A>()</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> <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.184"><B>getDataItem</B></A>(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> <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.195"><B>getTimePeriod</B></A>(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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.206"><B>getValue</B></A>(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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.215"><B>add</B></A>(<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 <A HREF="../../../../src-html/org/jfree/data/time/TimePeriodValues.html#line.336"><B>add</B></A>(<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 + -