📄 ohlcdataitem.html
字号:
</TABLE><A NAME="OHLCDataItem(java.util.Date, double, double, double, double, double)"><!-- --></A><H3>OHLCDataItem</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.88"><B>OHLCDataItem</B></A>(java.util.Date date, double open, double high, double low, double close, double volume)</PRE><DL><DD>Creates a new item.<P><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the date (<code>null</code> not permitted).<DD><CODE>open</CODE> - the open value.<DD><CODE>high</CODE> - the high value.<DD><CODE>low</CODE> - the low value.<DD><CODE>close</CODE> - the close value.<DD><CODE>volume</CODE> - the volume.</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="getDate()"><!-- --></A><H3>getDate</H3><PRE>public java.util.Date <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.110"><B>getDate</B></A>()</PRE><DL><DD>Returns the date that the data item relates to.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The date (never <code>null</code>).</DL></DD></DL><HR><A NAME="getOpen()"><!-- --></A><H3>getOpen</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.119"><B>getOpen</B></A>()</PRE><DL><DD>Returns the open value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The open value.</DL></DD></DL><HR><A NAME="getHigh()"><!-- --></A><H3>getHigh</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.128"><B>getHigh</B></A>()</PRE><DL><DD>Returns the high value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The high value.</DL></DD></DL><HR><A NAME="getLow()"><!-- --></A><H3>getLow</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.137"><B>getLow</B></A>()</PRE><DL><DD>Returns the low value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The low value.</DL></DD></DL><HR><A NAME="getClose()"><!-- --></A><H3>getClose</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.146"><B>getClose</B></A>()</PRE><DL><DD>Returns the close value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The close value.</DL></DD></DL><HR><A NAME="getVolume()"><!-- --></A><H3>getVolume</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.155"><B>getVolume</B></A>()</PRE><DL><DD>Returns the volume.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The volume.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.166"><B>equals</B></A>(java.lang.Object obj)</PRE><DL><DD>Checks this instance for equality with an arbitrary object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>compareTo</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/xy/OHLCDataItem.html#line.202"><B>compareTo</B></A>(java.lang.Object object)</PRE><DL><DD>Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to compare to.<DT><B>Returns:</B><DD>A negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OHLCDataItem.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/data/xy/NormalizedMatrixSeries.html" title="class in org.jfree.data.xy"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jfree/data/xy/OHLCDataItem.html" target="_top"><B>FRAMES</B></A> <A HREF="OHLCDataItem.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -