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

📄 segmentedtimeline.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html#setAdjustForDaylightSaving(boolean)">setAdjustForDaylightSaving</A></B>(boolean&nbsp;adjust)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the flag that controls whether or not the daylight saving adjustment is applied.</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.html#setBaseTimeline(org.jfree.chart.axis.SegmentedTimeline)">setBaseTimeline</A></B>(<A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis">SegmentedTimeline</A>&nbsp;baseTimeline)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the base timeline.</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.html#setExceptionSegments(java.util.List)">setExceptionSegments</A></B>(java.util.List&nbsp;exceptionSegments)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the exception segments list.</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.html#setStartTime(long)">setStartTime</A></B>(long&nbsp;millisecond)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the start time for the timeline.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html#toMillisecond(long)">toMillisecond</A></B>(long&nbsp;timelineValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates a value relative to the timeline into a millisecond.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html#toTimelineValue(java.util.Date)">toTimelineValue</A></B>(java.util.Date&nbsp;date)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates a date into a value relative to the segmented timeline.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html#toTimelineValue(long)">toTimelineValue</A></B>(long&nbsp;millisecond)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates a value relative to the domain value (all Dates) into a value relative to the segmented timeline.</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"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, 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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="DAY_SEGMENT_SIZE"><!-- --></A><H3>DAY_SEGMENT_SIZE</H3><PRE>public static final long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.175"><B>DAY_SEGMENT_SIZE</B></A></PRE><DL><DD>Defines a day segment size in ms.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.axis.SegmentedTimeline.DAY_SEGMENT_SIZE">Constant Field Values</A></DL></DL><HR><A NAME="HOUR_SEGMENT_SIZE"><!-- --></A><H3>HOUR_SEGMENT_SIZE</H3><PRE>public static final long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.178"><B>HOUR_SEGMENT_SIZE</B></A></PRE><DL><DD>Defines a one hour segment size in ms.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.axis.SegmentedTimeline.HOUR_SEGMENT_SIZE">Constant Field Values</A></DL></DL><HR><A NAME="FIFTEEN_MINUTE_SEGMENT_SIZE"><!-- --></A><H3>FIFTEEN_MINUTE_SEGMENT_SIZE</H3><PRE>public static final long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.181"><B>FIFTEEN_MINUTE_SEGMENT_SIZE</B></A></PRE><DL><DD>Defines a 15-minute segment size in ms.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.axis.SegmentedTimeline.FIFTEEN_MINUTE_SEGMENT_SIZE">Constant Field Values</A></DL></DL><HR><A NAME="MINUTE_SEGMENT_SIZE"><!-- --></A><H3>MINUTE_SEGMENT_SIZE</H3><PRE>public static final long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.184"><B>MINUTE_SEGMENT_SIZE</B></A></PRE><DL><DD>Defines a one-minute segment size in ms.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.axis.SegmentedTimeline.MINUTE_SEGMENT_SIZE">Constant Field Values</A></DL></DL><HR><A NAME="FIRST_MONDAY_AFTER_1900"><!-- --></A><H3>FIRST_MONDAY_AFTER_1900</H3><PRE>public static long <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.196"><B>FIRST_MONDAY_AFTER_1900</B></A></PRE><DL><DD>Utility constant that defines the startTime as the first monday after  1/1/1970.  This should be used when creating a SegmentedTimeline for  Monday through Friday. See static block below for calculation of this  constant.<P><DL></DL></DL><HR><A NAME="NO_DST_TIME_ZONE"><!-- --></A><H3>NO_DST_TIME_ZONE</H3><PRE>public static java.util.TimeZone <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.203"><B>NO_DST_TIME_ZONE</B></A></PRE><DL><DD>Utility TimeZone object that has no DST and an offset equal to the  default TimeZone. This allows easy arithmetic between days as each one  will have equal size.<P><DL></DL></DL><HR><A NAME="DEFAULT_TIME_ZONE"><!-- --></A><H3>DEFAULT_TIME_ZONE</H3><PRE>public static java.util.TimeZone <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.211"><B>DEFAULT_TIME_ZONE</B></A></PRE><DL><DD>This is the default time zone where the application is running. See  getTime() below where we make use of certain transformations between  times in the default time zone and the no-dst time zone used for our  calculations.<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(long, int, int)"><!-- --></A><H3>SegmentedTimeline</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.316"><B>SegmentedTimeline</B></A>(long&nbsp;segmentSize,                         int&nbsp;segmentsIncluded,                         int&nbsp;segmentsExcluded)</PRE><DL><DD>Constructs a new segmented timeline, optionaly using another segmented timeline as its base. This chaining of SegmentedTimelines allows further segmentation into smaller timelines. If a base<P><DL><DT><B>Parameters:</B><DD><CODE>segmentSize</CODE> - the size of a segment in ms. This time unit will be        used to compute the included and excluded segments of the         timeline.<DD><CODE>segmentsIncluded</CODE> - Number of consecutive segments to include.<DD><CODE>segmentsExcluded</CODE> - Number of consecutive segments to exclude.</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="newMondayThroughFridayTimeline()"><!-- --></A><H3>newMondayThroughFridayTimeline</H3><PRE>public static <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.340"><B>newMondayThroughFridayTimeline</B></A>()</PRE><DL><DD>Factory method to create a Monday through Friday SegmentedTimeline. <P> The <code>startTime</code> of the resulting timeline will be midnight  of the first Monday after 1/1/1900.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A fully initialized SegmentedTimeline.</DL></DD></DL><HR><A NAME="newFifteenMinuteTimeline()"><!-- --></A><H3>newFifteenMinuteTimeline</H3><PRE>public static <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.364"><B>newFifteenMinuteTimeline</B></A>()</PRE><DL><DD>Factory method to create a 15-min, 9:00 AM thought 4:00 PM, Monday  through Friday SegmentedTimeline. <P> This timeline uses a segmentSize of FIFTEEN_MIN_SEGMENT_SIZE. The  segment group is defined as 28 included segments (9:00 AM through  4:00 PM) and 68 excluded segments (4:00 PM through 9:00 AM the next day). <P> In order to exclude Saturdays and Sundays it uses a baseTimeline that  only includes Monday through Friday days. <P> The <code>startTime</code> of the resulting timeline will be 9:00 AM  after the startTime of the baseTimeline. This will correspond to 9:00 AM of the first Monday after 1/1/1900.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A fully initialized SegmentedTimeline.</DL></DD></DL><HR><A NAME="getAdjustForDaylightSaving()"><!-- --></A><H3>getAdjustForDaylightSaving</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.380"><B>getAdjustForDaylightSaving</B></A>()</PRE><DL><DD>Returns the flag that controls whether or not the daylight saving  adjustment is applied.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="setAdjustForDaylightSaving(boolean)"><!-- --></A><H3>setAdjustForDaylightSaving</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.390"><B>setAdjustForDaylightSaving</B></A>(boolean&nbsp;adjust)</PRE><DL><DD>Sets the flag that controls whether or not the daylight saving adjustment is applied.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>adjust</CODE> - the flag.</DL></DD></DL><HR><A NAME="setStartTime(long)"><!-- --></A><H3>setStartTime</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/axis/SegmentedTimeline.html#line.404"><B>setStartTime</B></A>(long&nbsp;millisecond)</PRE><DL><DD>Sets the start time for the timeline. This is the beginning of segment  zero.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the start time (encoded as in java.util.Date).</DL></DD></DL><HR><A NAME="getStartTime()"><!-- --></A><H3>

⌨️ 快捷键说明

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