📄 segmentedtimeline.segment.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inc()">inc</A></B>()</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inc(long)">inc</A></B>(long n)</CODE><BR> 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inExceptionSegments()">inExceptionSegments</A></B>()</CODE><BR> 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inExcludeSegments()">inExcludeSegments</A></B>()</CODE><BR> 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#inIncludeSegments()">inIncludeSegments</A></B>()</CODE><BR> 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> <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 from, long to)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#moveIndexToEnd()">moveIndexToEnd</A></B>()</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html#moveIndexToStart()">moveIndexToStart</A></B>()</CODE><BR> Moves the index of this segment to the beginning if the segment.</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>clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="segmentNumber"><!-- --></A><H3>segmentNumber</H3><PRE>protected long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1205"><B>segmentNumber</B></A></PRE><DL><DD>The segment number.<P><DL></DL></DL><HR><A NAME="segmentStart"><!-- --></A><H3>segmentStart</H3><PRE>protected long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1208"><B>segmentStart</B></A></PRE><DL><DD>The segment start.<P><DL></DL></DL><HR><A NAME="segmentEnd"><!-- --></A><H3>segmentEnd</H3><PRE>protected long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1211"><B>segmentEnd</B></A></PRE><DL><DD>The segment end.<P><DL></DL></DL><HR><A NAME="millisecond"><!-- --></A><H3>millisecond</H3><PRE>protected long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1214"><B>millisecond</B></A></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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="SegmentedTimeline.Segment()"><!-- --></A><H3>SegmentedTimeline.Segment</H3><PRE>protected <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1219"><B>SegmentedTimeline.Segment</B></A>()</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1228"><B>SegmentedTimeline.Segment</B></A>(long millisecond)</PRE><DL><DD>Creates a segment for a given point in time.<P><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond (as encoded by java.util.Date).</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="calculateSegmentNumber(long)"><!-- --></A><H3>calculateSegmentNumber</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1244"><B>calculateSegmentNumber</B></A>(long millis)</PRE><DL><DD>Calculates the segment number for a given millisecond.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>millis</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1260"><B>getSegmentNumber</B></A>()</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1270"><B>getSegmentCount</B></A>()</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1279"><B>getSegmentStart</B></A>()</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1288"><B>getSegmentEnd</B></A>()</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1298"><B>getMillisecond</B></A>()</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="getDate()"><!-- --></A><H3>getDate</H3><PRE>public java.util.Date <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1308"><B>getDate</B></A>()</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1321"><B>contains</B></A>(long millis)</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>millis</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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1335"><B>contains</B></A>(long from, long 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 <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.Segment.html#line.1347"><B>contains</B></A>(<A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.Segment.html" title="class in org.jfree.chart.axis">SegmentedTimeline.Segment</A> segment)</PRE><DL><DD>Returns <code>true</code> if a segment is contained in this segment.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>segment</CODE> - the segment to test for inclusion<DT><B>Returns:</B><DD><code>true</code> if the segment is contained in this segment.</DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -