tickunits.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 512 行 · 第 1/2 页
HTML
512 行
<TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="add(org.jfree.chart.axis.TickUnit)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/jfree/chart/axis/TickUnit.html">TickUnit</A> unit)</PRE><DL><DD>Adds a tick unit to the collection. <P> The tick units are maintained in ascending order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the tick unit to add.</DL></DD></DL><HR><A NAME="getLargerTickUnit(org.jfree.chart.axis.TickUnit)"><!-- --></A><H3>getLargerTickUnit</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/TickUnit.html">TickUnit</A> <B>getLargerTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/TickUnit.html">TickUnit</A> unit)</PRE><DL><DD>Returns a tick unit that is larger than the supplied unit.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the unit.<DT><B>Returns:</B><DD>a tick unit that is larger than the supplied unit.</DL></DD></DL><HR><A NAME="getCeilingTickUnit(org.jfree.chart.axis.TickUnit)"><!-- --></A><H3>getCeilingTickUnit</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/TickUnit.html">TickUnit</A> <B>getCeilingTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/TickUnit.html">TickUnit</A> unit)</PRE><DL><DD>Returns the tick unit in the collection that is greater than or equal to (in size) the specified unit.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the unit.<DT><B>Returns:</B><DD>a unit from the collection.</DL></DD></DL><HR><A NAME="getCeilingTickUnit(double)"><!-- --></A><H3>getCeilingTickUnit</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/TickUnit.html">TickUnit</A> <B>getCeilingTickUnit</B>(double size)</PRE><DL><DD>Returns the tick unit in the collection that is greater than or equal to the specified size.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the size.<DT><B>Returns:</B><DD>a unit from the collection.</DL></DD></DL><HR><A NAME="createStandardTickUnits()"><!-- --></A><H3>createStandardTickUnits</H3><PRE>public static <A HREF="../../../../org/jfree/chart/axis/TickUnits.html">TickUnits</A> <B>createStandardTickUnits</B>()</PRE><DL><DD><B>Deprecated.</B> <I>this method has been moved to the NumberAxis class.</I><P><DD>Creates the standard tick units. <P> If you don't like these defaults, create your own instance of TickUnits and then pass it to the setStandardTickUnits(...) method in the NumberAxis class.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the standard tick units.</DL></DD></DL><HR><A NAME="createIntegerTickUnits()"><!-- --></A><H3>createIntegerTickUnits</H3><PRE>public static <A HREF="../../../../org/jfree/chart/axis/TickUnits.html">TickUnits</A> <B>createIntegerTickUnits</B>()</PRE><DL><DD><B>Deprecated.</B> <I>this method has been moved to the NumberAxis class.</I><P><DD>Returns a collection of tick units for integer values.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a collection of tick units for integer values.</DL></DD></DL><HR><A NAME="createStandardTickUnits(java.util.Locale)"><!-- --></A><H3>createStandardTickUnits</H3><PRE>public static <A HREF="../../../../org/jfree/chart/axis/TickUnits.html">TickUnits</A> <B>createStandardTickUnits</B>(java.util.Locale locale)</PRE><DL><DD><B>Deprecated.</B> <I>this method has been moved to the NumberAxis class.</I><P><DD>Creates the standard tick units, and uses a given Locale to create the DecimalFormats <P> If you don't like these defaults, create your own instance of TickUnits and then pass it to the setStandardTickUnits(...) method in the NumberAxis class.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale to use to represent Numbers.<DT><B>Returns:</B><DD>the standard tick units.</DL></DD></DL><HR><A NAME="createIntegerTickUnits(java.util.Locale)"><!-- --></A><H3>createIntegerTickUnits</H3><PRE>public static <A HREF="../../../../org/jfree/chart/axis/TickUnits.html">TickUnits</A> <B>createIntegerTickUnits</B>(java.util.Locale locale)</PRE><DL><DD><B>Deprecated.</B> <I>this method has been moved to the NumberAxis class.</I><P><DD>Returns a collection of tick units for integer values. Uses a given Locale to create the DecimalFormats.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale to use to represent Numbers.<DT><B>Returns:</B><DD>a collection of tick units for integer values.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the collection.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if an item in the collection does not support cloning.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object object)</PRE><DL><DD>Tests an object for equality with this instance.<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>object</CODE> - the object to test.<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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="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-all.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/chart/axis/TickUnit.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="TickUnits.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?