timeline.html
来自「JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东」· HTML 代码 · 共 387 行 · 第 1/2 页
HTML
387 行
<TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/Timeline.html#toTimelineValue(long)">toTimelineValue</A></B>(long millisecond)</CODE><BR> Translates a millisecond (as defined by java.util.Date) into an index along this timeline.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="toTimelineValue(long)"><!-- --></A><H3>toTimelineValue</H3><PRE>public long <B>toTimelineValue</B>(long millisecond)</PRE><DL><DD>Translates a millisecond (as defined by java.util.Date) into an index along this timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond.<DT><B>Returns:</B><DD>A timeline value.</DL></DD></DL><HR><A NAME="toTimelineValue(java.util.Date)"><!-- --></A><H3>toTimelineValue</H3><PRE>public long <B>toTimelineValue</B>(java.util.Date date)</PRE><DL><DD>Translates a date into a value on this timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the date.<DT><B>Returns:</B><DD>A timeline value</DL></DD></DL><HR><A NAME="toMillisecond(long)"><!-- --></A><H3>toMillisecond</H3><PRE>public long <B>toMillisecond</B>(long timelineValue)</PRE><DL><DD>Translates a value relative to this timeline into a domain value. The domain value obtained by this method is not always the same domain value that could have been supplied to translateDomainValueToTimelineValue(domainValue). This is because the original tranformation may not be complete reversable.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>timelineValue</CODE> - a timeline value.<DT><B>Returns:</B><DD>A domain value.<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis"><CODE>SegmentedTimeline</CODE></A></DL></DD></DL><HR><A NAME="containsDomainValue(long)"><!-- --></A><H3>containsDomainValue</H3><PRE>public boolean <B>containsDomainValue</B>(long millisecond)</PRE><DL><DD>Returns <code>true</code> if a value is contained in the timeline values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond.<DT><B>Returns:</B><DD><code>true</code> if value is contained in the timeline and <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="containsDomainValue(java.util.Date)"><!-- --></A><H3>containsDomainValue</H3><PRE>public boolean <B>containsDomainValue</B>(java.util.Date date)</PRE><DL><DD>Returns <code>true</code> if a date is contained in the timeline values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the date to verify.<DT><B>Returns:</B><DD><code>true</code> if value is contained in the timeline and <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="containsDomainRange(long, long)"><!-- --></A><H3>containsDomainRange</H3><PRE>public boolean <B>containsDomainRange</B>(long fromMillisecond, long toMillisecond)</PRE><DL><DD>Returns <code>true</code> if a range of values are contained in the timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fromMillisecond</CODE> - the start of the range to verify.<DD><CODE>toMillisecond</CODE> - the end of the range to verify.<DT><B>Returns:</B><DD><code>true</code> if the range is contained in the timeline or <code>false</code> otherwise</DL></DD></DL><HR><A NAME="containsDomainRange(java.util.Date, java.util.Date)"><!-- --></A><H3>containsDomainRange</H3><PRE>public boolean <B>containsDomainRange</B>(java.util.Date fromDate, java.util.Date toDate)</PRE><DL><DD>Returns <code>true</code> if a range of dates are contained in the timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fromDate</CODE> - the start of the range to verify.<DD><CODE>toDate</CODE> - the end of the range to verify.<DT><B>Returns:</B><DD><code>true</code> if the range is contained in the timeline or <code>false</code> otherwise</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Timeline.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?