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

📄 segmentedtimeline.segment.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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/chart/axis/SegmentedTimeline.Segment.html#inc()">inc</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Increments the internal attributes of this segment by one segment.</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/chart/axis/SegmentedTimeline.Segment.html#inc(long)">inc</A></B>(long&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Increments the internal attributes of this segment by a number of segments.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inExceptionSegments()">inExceptionSegments</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if we are an exception segment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inExcludeSegments()">inExcludeSegments</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if we are an excluded segment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inIncludeSegments()">inIncludeSegments</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if we are an included segment and we are not an exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html" title="class in org.jfree.chart.axis">SegmentedTimeline.Segment</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#intersect(long, long)">intersect</A></B>(long&nbsp;from,          long&nbsp;to)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a segment that is the intersection of this segment and the interval.</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/chart/axis/SegmentedTimeline.Segment.html#moveIndexToEnd()">moveIndexToEnd</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the index of this segment to the end of the segment.</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/chart/axis/SegmentedTimeline.Segment.html#moveIndexToStart()">moveIndexToStart</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the index of this segment to the beginning if the segment.</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>clone, finalize, getClass, hashCode, 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="segmentNumber"><!-- --></A><H3>segmentNumber</H3><PRE>protected long <B>segmentNumber</B></PRE><DL><DD>The segment number.<P><DL></DL></DL><HR><A NAME="segmentStart"><!-- --></A><H3>segmentStart</H3><PRE>protected long <B>segmentStart</B></PRE><DL><DD>The segment start.<P><DL></DL></DL><HR><A NAME="segmentEnd"><!-- --></A><H3>segmentEnd</H3><PRE>protected long <B>segmentEnd</B></PRE><DL><DD>The segment end.<P><DL></DL></DL><HR><A NAME="millisecond"><!-- --></A><H3>millisecond</H3><PRE>protected long <B>millisecond</B></PRE><DL><DD>A reference point within the segment.<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"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="SegmentedTimeline.Segment()"><!-- --></A><H3>SegmentedTimeline.Segment</H3><PRE>protected <B>SegmentedTimeline.Segment</B>()</PRE><DL><DD>Protected constructor only used by sub-classes.<P></DL><HR><A NAME="SegmentedTimeline.Segment(long)"><!-- --></A><H3>SegmentedTimeline.Segment</H3><PRE>protected <B>SegmentedTimeline.Segment</B>(long&nbsp;millisecond)</PRE><DL><DD>Creates a segment for a given point in time.<P><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond (as encoded by java.util.Date).</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="calculateSegmentNumber(long)"><!-- --></A><H3>calculateSegmentNumber</H3><PRE>public long <B>calculateSegmentNumber</B>(long&nbsp;millisecond)</PRE><DL><DD>Calculates the segment number for a given millisecond.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond (as encoded by java.util.Date).<DT><B>Returns:</B><DD>The segment number.</DL></DD></DL><HR><A NAME="getSegmentNumber()"><!-- --></A><H3>getSegmentNumber</H3><PRE>public long <B>getSegmentNumber</B>()</PRE><DL><DD>Returns the segment number of this segment. Segments start at 0.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The segment number.</DL></DD></DL><HR><A NAME="getSegmentCount()"><!-- --></A><H3>getSegmentCount</H3><PRE>public long <B>getSegmentCount</B>()</PRE><DL><DD>Returns always one (the number of segments contained in this segment).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The segment count (always 1 for this class).</DL></DD></DL><HR><A NAME="getSegmentStart()"><!-- --></A><H3>getSegmentStart</H3><PRE>public long <B>getSegmentStart</B>()</PRE><DL><DD>Gets the start of this segment in ms.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The segment start.</DL></DD></DL><HR><A NAME="getSegmentEnd()"><!-- --></A><H3>getSegmentEnd</H3><PRE>public long <B>getSegmentEnd</B>()</PRE><DL><DD>Gets the end of this segment in ms.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The segment end.</DL></DD></DL><HR><A NAME="getMillisecond()"><!-- --></A><H3>getMillisecond</H3><PRE>public long <B>getMillisecond</B>()</PRE><DL><DD>Returns the millisecond used to reference this segment (always between the segmentStart and segmentEnd).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The millisecond.</DL></DD></DL><HR><A NAME="getIndex()"><!-- --></A><H3>getIndex</H3><PRE>public long <B>getIndex</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use getMillisecond().</I><P><DD>Gets the index in this segment. Index will always be between the segmentStart and segmentEnd.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getDate()"><!-- --></A><H3>getDate</H3><PRE>public java.util.Date <B>getDate</B>()</PRE><DL><DD>Returns a <CODE>Date</CODE> that represents the reference point for this segment.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The date.</DL></DD></DL><HR><A NAME="contains(long)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(long&nbsp;millisecond)</PRE><DL><DD>Returns true if a particular millisecond is contained in this segment.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond to verify.<DT><B>Returns:</B><DD><code>true</code> if the millisecond is contained in the segment.</DL></DD></DL><HR><A NAME="contains(long, long)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(long&nbsp;from,                        long&nbsp;to)</PRE><DL><DD>Returns <code>true</code> if an interval is contained in this segment.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>from</CODE> - the start of the interval.<DD><CODE>to</CODE> - the end of the interval.<DT><B>Returns:</B><DD><code>true</code> if the interval is contained in the segment.</DL></DD></DL><HR><A NAME="contains(org.jfree.chart.axis.SegmentedTimeline.Segment)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(<A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html" title="class in org.jfree.chart.axis">SegmentedTimeline.Segment</A>&nbsp;segment)</PRE>

⌨️ 快捷键说明

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