📄 dynamictimeseriescollection.html
字号:
<TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#translateGet(int)">translateGet</A></B>(int toFetch)</CODE><BR> Re-map an index, for use in retrieving data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.html#wrapOffset(int)">wrapOffset</A></B>(int protoIndex)</CODE><BR> ??</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.xy.AbstractIntervalXYDataset"><!-- --></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.xy.<A HREF="../../../../org/jfree/data/xy/AbstractIntervalXYDataset.html" title="class in org.jfree.data.xy">AbstractIntervalXYDataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/xy/AbstractIntervalXYDataset.html#getEndXValue(int, int)">getEndXValue</A>, <A HREF="../../../../org/jfree/data/xy/AbstractIntervalXYDataset.html#getEndYValue(int, int)">getEndYValue</A>, <A HREF="../../../../org/jfree/data/xy/AbstractIntervalXYDataset.html#getStartXValue(int, int)">getStartXValue</A>, <A HREF="../../../../org/jfree/data/xy/AbstractIntervalXYDataset.html#getStartYValue(int, int)">getStartYValue</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.xy.AbstractXYDataset"><!-- --></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.xy.<A HREF="../../../../org/jfree/data/xy/AbstractXYDataset.html" title="class in org.jfree.data.xy">AbstractXYDataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/xy/AbstractXYDataset.html#getDomainOrder()">getDomainOrder</A>, <A HREF="../../../../org/jfree/data/xy/AbstractXYDataset.html#getXValue(int, int)">getXValue</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.general.AbstractSeriesDataset"><!-- --></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/AbstractSeriesDataset.html" title="class in org.jfree.data.general">AbstractSeriesDataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/general/AbstractSeriesDataset.html#indexOf(java.lang.Comparable)">indexOf</A>, <A HREF="../../../../org/jfree/data/general/AbstractSeriesDataset.html#seriesChanged(org.jfree.data.general.SeriesChangeEvent)">seriesChanged</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.general.AbstractDataset"><!-- --></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/AbstractDataset.html" title="class in org.jfree.data.general">AbstractDataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/general/AbstractDataset.html#addChangeListener(org.jfree.data.general.DatasetChangeListener)">addChangeListener</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#clone()">clone</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#fireDatasetChanged()">fireDatasetChanged</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#getGroup()">getGroup</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#hasListener(java.util.EventListener)">hasListener</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#notifyListeners(org.jfree.data.general.DatasetChangeEvent)">notifyListeners</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#removeChangeListener(org.jfree.data.general.DatasetChangeListener)">removeChangeListener</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#setGroup(org.jfree.data.general.DatasetGroup)">setGroup</A>, <A HREF="../../../../org/jfree/data/general/AbstractDataset.html#validateObject()">validateObject</A></CODE></TD></TR></TABLE> <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>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.xy.IntervalXYDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface org.jfree.data.xy.<A HREF="../../../../org/jfree/data/xy/IntervalXYDataset.html" title="interface in org.jfree.data.xy">IntervalXYDataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/xy/IntervalXYDataset.html#getEndXValue(int, int)">getEndXValue</A>, <A HREF="../../../../org/jfree/data/xy/IntervalXYDataset.html#getEndYValue(int, int)">getEndYValue</A>, <A HREF="../../../../org/jfree/data/xy/IntervalXYDataset.html#getStartXValue(int, int)">getStartXValue</A>, <A HREF="../../../../org/jfree/data/xy/IntervalXYDataset.html#getStartYValue(int, int)">getStartYValue</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.xy.XYDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface org.jfree.data.xy.<A HREF="../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/xy/XYDataset.html#getDomainOrder()">getDomainOrder</A>, <A HREF="../../../../org/jfree/data/xy/XYDataset.html#getXValue(int, int)">getXValue</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.general.SeriesDataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface org.jfree.data.general.<A HREF="../../../../org/jfree/data/general/SeriesDataset.html" title="interface in org.jfree.data.general">SeriesDataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/general/SeriesDataset.html#indexOf(java.lang.Comparable)">indexOf</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.general.Dataset"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface org.jfree.data.general.<A HREF="../../../../org/jfree/data/general/Dataset.html" title="interface in org.jfree.data.general">Dataset</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/general/Dataset.html#addChangeListener(org.jfree.data.general.DatasetChangeListener)">addChangeListener</A>, <A HREF="../../../../org/jfree/data/general/Dataset.html#getGroup()">getGroup</A>, <A HREF="../../../../org/jfree/data/general/Dataset.html#removeChangeListener(org.jfree.data.general.DatasetChangeListener)">removeChangeListener</A>, <A HREF="../../../../org/jfree/data/general/Dataset.html#setGroup(org.jfree.data.general.DatasetGroup)">setGroup</A></CODE></TD></TR></TABLE> <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="START"><!-- --></A><H3>START</H3><PRE>public static final int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.96"><B>START</B></A></PRE><DL><DD>Useful constant for controlling the x-value returned for a time period.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.DynamicTimeSeriesCollection.START">Constant Field Values</A></DL></DL><HR><A NAME="MIDDLE"><!-- --></A><H3>MIDDLE</H3><PRE>public static final int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.101"><B>MIDDLE</B></A></PRE><DL><DD>Useful constant for controlling the x-value returned for a time period.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.DynamicTimeSeriesCollection.MIDDLE">Constant Field Values</A></DL></DL><HR><A NAME="END"><!-- --></A><H3>END</H3><PRE>public static final int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.106"><B>END</B></A></PRE><DL><DD>Useful constant for controlling the x-value returned for a time period.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.DynamicTimeSeriesCollection.END">Constant Field Values</A></DL></DL><HR><A NAME="historyCount"><!-- --></A><H3>historyCount</H3><PRE>protected int <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.112"><B>historyCount</B></A></PRE><DL><DD>The history count.<P><DL></DL></DL><HR><A NAME="pointsInTime"><!-- --></A><H3>pointsInTime</H3><PRE>protected <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A>[] <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.121"><B>pointsInTime</B></A></PRE><DL><DD>Storage for the x-values.<P><DL></DL></DL><HR><A NAME="valueHistory"><!-- --></A><H3>valueHistory</H3><PRE>protected <A HREF="../../../../org/jfree/data/time/DynamicTimeSeriesCollection.ValueSequence.html" title="class in org.jfree.data.time">DynamicTimeSeriesCollection.ValueSequence</A>[] <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.176"><B>valueHistory</B></A></PRE><DL><DD>An array for storing the objects that represent each series.<P><DL></DL></DL><HR><A NAME="workingCalendar"><!-- --></A><H3>workingCalendar</H3><PRE>protected java.util.Calendar <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.179"><B>workingCalendar</B></A></PRE><DL><DD>A working calendar (to recycle)<P><DL></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="DynamicTimeSeriesCollection(int, int)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.233"><B>DynamicTimeSeriesCollection</B></A>(int nSeries, int nMoments)</PRE><DL><DD>Constructs a dataset with capacity for N series, tied to default timezone.<P><DL><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series to be accommodated.<DD><CODE>nMoments</CODE> - the number of TimePeriods to be spanned.</DL></DL><HR><A NAME="DynamicTimeSeriesCollection(int, int, java.util.TimeZone)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.247"><B>DynamicTimeSeriesCollection</B></A>(int nSeries, int nMoments, java.util.TimeZone zone)</PRE><DL><DD>Constructs an empty dataset, tied to a specific timezone.<P><DL><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series to be accommodated<DD><CODE>nMoments</CODE> - the number of TimePeriods to be spanned<DD><CODE>zone</CODE> - the timezone.</DL></DL><HR><A NAME="DynamicTimeSeriesCollection(int, int, org.jfree.data.time.RegularTimePeriod)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.260"><B>DynamicTimeSeriesCollection</B></A>(int nSeries, int nMoments, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> timeSample)</PRE><DL><DD>Creates a new dataset.<P><DL><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series.<DD><CODE>nMoments</CODE> - the number of items per series.<DD><CODE>timeSample</CODE> - a time period sample.</DL></DL><HR><A NAME="DynamicTimeSeriesCollection(int, int, org.jfree.data.time.RegularTimePeriod, java.util.TimeZone)"><!-- --></A><H3>DynamicTimeSeriesCollection</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.274"><B>DynamicTimeSeriesCollection</B></A>(int nSeries, int nMoments, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> timeSample, java.util.TimeZone zone)</PRE><DL><DD>Creates a new dataset.<P><DL><DT><B>Parameters:</B><DD><CODE>nSeries</CODE> - the number of series.<DD><CODE>nMoments</CODE> - the number of items per series.<DD><CODE>timeSample</CODE> - a time period sample.<DD><CODE>zone</CODE> - the time zone.</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="setTimeBase(org.jfree.data.time.RegularTimePeriod)"><!-- --></A><H3>setTimeBase</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/data/time/DynamicTimeSeriesCollection.html#line.318"><B>setTimeBase</B></A>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> start)</PRE><DL><DD>Fill the pointsInTime with times using TimePeriod.next(): Will silently return if the time array was already populated. Also computes the data cached for later use by methods implementing the DomainInfo interface:<P><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -