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

📄 segmentedtimeline.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
getStartTime</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.414"><B>getStartTime</B></A>()</PRE><DL><DD>Returns the start time for the timeline. This is the beginning of  segment zero.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The start time.</DL></DD></DL><HR><A NAME="getSegmentsExcluded()"><!-- --></A><H3>getSegmentsExcluded</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.423"><B>getSegmentsExcluded</B></A>()</PRE><DL><DD>Returns the number of segments excluded per segment group.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of segments excluded.</DL></DD></DL><HR><A NAME="getSegmentsExcludedSize()"><!-- --></A><H3>getSegmentsExcludedSize</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.433"><B>getSegmentsExcludedSize</B></A>()</PRE><DL><DD>Returns the size in milliseconds of the segments excluded per segment  group.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The size in milliseconds.</DL></DD></DL><HR><A NAME="getGroupSegmentCount()"><!-- --></A><H3>getGroupSegmentCount</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.443"><B>getGroupSegmentCount</B></A>()</PRE><DL><DD>Returns the number of segments in a segment group. This will be equal to segments included plus segments excluded.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of segments.</DL></DD></DL><HR><A NAME="getSegmentsGroupSize()"><!-- --></A><H3>getSegmentsGroupSize</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.453"><B>getSegmentsGroupSize</B></A>()</PRE><DL><DD>Returns the size in milliseconds of a segment group. This will be equal  to size of the segments included plus the size of the segments excluded.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The segment group size in milliseconds.</DL></DD></DL><HR><A NAME="getSegmentsIncluded()"><!-- --></A><H3>getSegmentsIncluded</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.462"><B>getSegmentsIncluded</B></A>()</PRE><DL><DD>Returns the number of segments included per segment group.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of segments.</DL></DD></DL><HR><A NAME="getSegmentsIncludedSize()"><!-- --></A><H3>getSegmentsIncludedSize</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.471"><B>getSegmentsIncludedSize</B></A>()</PRE><DL><DD>Returns the size in ms of the segments included per segment group.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The segment size in milliseconds.</DL></DD></DL><HR><A NAME="getSegmentSize()"><!-- --></A><H3>getSegmentSize</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.480"><B>getSegmentSize</B></A>()</PRE><DL><DD>Returns the size of one segment in ms.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The segment size in milliseconds.</DL></DD></DL><HR><A NAME="getExceptionSegments()"><!-- --></A><H3>getExceptionSegments</H3><PRE>public java.util.List <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.490"><B>getExceptionSegments</B></A>()</PRE><DL><DD>Returns a list of all the exception segments. This list is not  modifiable.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The exception segments.</DL></DD></DL><HR><A NAME="setExceptionSegments(java.util.List)"><!-- --></A><H3>setExceptionSegments</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.499"><B>setExceptionSegments</B></A>(java.util.List&nbsp;exceptionSegments)</PRE><DL><DD>Sets the exception segments list.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>exceptionSegments</CODE> - the exception segments.</DL></DD></DL><HR><A NAME="getBaseTimeline()"><!-- --></A><H3>getBaseTimeline</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis">SegmentedTimeline</A> <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.508"><B>getBaseTimeline</B></A>()</PRE><DL><DD>Returns our baseTimeline, or <code>null</code> if none.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The base timeline.</DL></DD></DL><HR><A NAME="setBaseTimeline(org.jfree.chart.axis.SegmentedTimeline)"><!-- --></A><H3>setBaseTimeline</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.517"><B>setBaseTimeline</B></A>(<A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis">SegmentedTimeline</A>&nbsp;baseTimeline)</PRE><DL><DD>Sets the base timeline.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>baseTimeline</CODE> - the timeline.</DL></DD></DL><HR><A NAME="toTimelineValue(long)"><!-- --></A><H3>toTimelineValue</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.557"><B>toTimelineValue</B></A>(long&nbsp;millisecond)</PRE><DL><DD>Translates a value relative to the domain value (all Dates) into a value relative to the segmented timeline. The values relative to the segmented timeline are all consecutives starting at zero at the startTime.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html#toTimelineValue(long)">toTimelineValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A></CODE></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 timeline value.</DL></DD></DL><HR><A NAME="toTimelineValue(java.util.Date)"><!-- --></A><H3>toTimelineValue</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.616"><B>toTimelineValue</B></A>(java.util.Date&nbsp;date)</PRE><DL><DD>Translates a date into a value relative to the segmented timeline. The  values relative to the segmented timeline are all consecutives starting  at zero at the startTime.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html#toTimelineValue(java.util.Date)">toTimelineValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - date relative to the domain.<DT><B>Returns:</B><DD>The timeline value (in milliseconds).</DL></DD></DL><HR><A NAME="toMillisecond(long)"><!-- --></A><H3>toMillisecond</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.628"><B>toMillisecond</B></A>(long&nbsp;timelineValue)</PRE><DL><DD>Translates a value relative to the timeline into a millisecond.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html#toMillisecond(long)">toMillisecond</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>timelineValue</CODE> - the timeline value (in milliseconds).<DT><B>Returns:</B><DD>The domain value (in milliseconds).<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="getTimeFromLong(long)"><!-- --></A><H3>getTimeFromLong</H3><PRE>public long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.677"><B>getTimeFromLong</B></A>(long&nbsp;date)</PRE><DL><DD>Converts a date/time value to take account of daylight savings time.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the milliseconds.<DT><B>Returns:</B><DD>The milliseconds.</DL></DD></DL><HR><A NAME="containsDomainValue(long)"><!-- --></A><H3>containsDomainValue</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.707"><B>containsDomainValue</B></A>(long&nbsp;millisecond)</PRE><DL><DD>Returns <code>true</code> if a value is contained in the timeline.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html#containsDomainValue(long)">containsDomainValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the value to verify.<DT><B>Returns:</B><DD><code>true</code> if value is contained in the timeline.</DL></DD></DL><HR><A NAME="containsDomainValue(java.util.Date)"><!-- --></A><H3>containsDomainValue</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.719"><B>containsDomainValue</B></A>(java.util.Date&nbsp;date)</PRE><DL><DD>Returns <code>true</code> if a value is contained in the timeline.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html#containsDomainValue(java.util.Date)">containsDomainValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/Timeline.html" title="interface in org.jfree.chart.axis">Timeline</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - date to verify<DT><B>Returns:</B><DD><code>true</code> if value is contained in the timeline</DL></DD></DL>

⌨️ 快捷键说明

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