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

📄 intervalxydelegate.html

📁 jfreechart1。0。2的api。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the interval width.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/xy/IntervalXYDelegate.html#getStartX(int, int)">getStartX</A></B>(int&nbsp;series,                   int&nbsp;item)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start value of the x-interval for an item within a series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/xy/IntervalXYDelegate.html#getStartXValue(int, int)">getStartXValue</A></B>(int&nbsp;series,                             int&nbsp;item)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start value of the x-interval for an item within a series.</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/data/xy/IntervalXYDelegate.html#isAutoWidth()">isAutoWidth</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if the interval width is automatically  calculated, and <code>false</code> otherwise.</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/data/xy/IntervalXYDelegate.html#setAutoWidth(boolean)">setAutoWidth</A></B>(boolean&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the flag that indicates whether the interval width is automatically calculated.</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/data/xy/IntervalXYDelegate.html#setFixedIntervalWidth(double)">setFixedIntervalWidth</A></B>(double&nbsp;w)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fixed interval width and, as a side effect, sets the <code>autoWidth</code> flag to <code>false</code>.</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/data/xy/IntervalXYDelegate.html#setIntervalPositionFactor(double)">setIntervalPositionFactor</A></B>(double&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the interval position factor.</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, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= 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="IntervalXYDelegate(org.jfree.data.xy.XYDataset)"><!-- --></A><H3>IntervalXYDelegate</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.122"><B>IntervalXYDelegate</B></A>(<A HREF="../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</A>&nbsp;dataset)</PRE><DL><DD>Creates a new delegate that.<P><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the underlying dataset (<code>null</code> not permitted).</DL></DL><HR><A NAME="IntervalXYDelegate(org.jfree.data.xy.XYDataset, boolean)"><!-- --></A><H3>IntervalXYDelegate</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.133"><B>IntervalXYDelegate</B></A>(<A HREF="../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</A>&nbsp;dataset,                          boolean&nbsp;autoWidth)</PRE><DL><DD>Creates a new delegate for the specified dataset.<P><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the underlying dataset (<code>null</code> not permitted).<DD><CODE>autoWidth</CODE> - a flag that controls whether the interval width is                    calculated automatically.</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="isAutoWidth()"><!-- --></A><H3>isAutoWidth</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.150"><B>isAutoWidth</B></A>()</PRE><DL><DD>Returns <code>true</code> if the interval width is automatically  calculated, and <code>false</code> otherwise.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="setAutoWidth(boolean)"><!-- --></A><H3>setAutoWidth</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.165"><B>setAutoWidth</B></A>(boolean&nbsp;b)</PRE><DL><DD>Sets the flag that indicates whether the interval width is automatically calculated.  If the flag is set to <code>true</code>, the interval is recalculated. <p> Note: recalculating the interval amounts to changing the data values represented by the dataset.  The calling dataset must fire an appropriate <A HREF="../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><CODE>DatasetChangeEvent</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>b</CODE> - a boolean.</DL></DD></DL><HR><A NAME="getIntervalPositionFactor()"><!-- --></A><H3>getIntervalPositionFactor</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.177"><B>getIntervalPositionFactor</B></A>()</PRE><DL><DD>Returns the interval position factor.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The interval position factor.</DL></DD></DL><HR><A NAME="setIntervalPositionFactor(double)"><!-- --></A><H3>setIntervalPositionFactor</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.197"><B>setIntervalPositionFactor</B></A>(double&nbsp;d)</PRE><DL><DD>Sets the interval position factor.  This controls how the interval is aligned to the x-value.  For a value of 0.5, the interval is aligned with the x-value in the center.  For a value of 0.0, the interval is aligned with the x-value at the lower end of the interval, and for a  value of 1.0, the interval is aligned with the x-value at the upper end of the interval.  Note that changing the interval position factor amounts to changing the  data values represented by the dataset.  Therefore, the dataset that is  using this delegate is responsible for generating the  appropriate <A HREF="../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><CODE>DatasetChangeEvent</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the new interval position factor (in the range            <code>0.0</code> to <code>1.0</code> inclusive).</DL></DD></DL><HR><A NAME="getFixedIntervalWidth()"><!-- --></A><H3>getFixedIntervalWidth</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.210"><B>getFixedIntervalWidth</B></A>()</PRE><DL><DD>Returns the fixed interval width.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The fixed interval width.</DL></DD></DL><HR><A NAME="setFixedIntervalWidth(double)"><!-- --></A><H3>setFixedIntervalWidth</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.225"><B>setFixedIntervalWidth</B></A>(double&nbsp;w)</PRE><DL><DD>Sets the fixed interval width and, as a side effect, sets the <code>autoWidth</code> flag to <code>false</code>.    Note that changing the interval width amounts to changing the data  values represented by the dataset.  Therefore, the dataset that is using this delegate is responsible for generating the  appropriate <A HREF="../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><CODE>DatasetChangeEvent</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>w</CODE> - the width (negative values not permitted).</DL></DD></DL><HR><A NAME="getIntervalWidth()"><!-- --></A><H3>getIntervalWidth</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/data/xy/IntervalXYDelegate.html#line.240"><B>getIntervalWidth</B></A>()</PRE><DL><DD>Returns the interval width.  This method will return either the  auto calculated interval width or the manually specified interval width, depending on the <A HREF="../../../../org/jfree/data/xy/IntervalXYDelegate.html#isAutoWidth()"><CODE>isAutoWidth()</CODE></A> result.<P><DD><DL></DL></DD>

⌨️ 快捷键说明

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