📄 tickunits.html
字号:
<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="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>Returns the number of tick units in this collection. <P> This method is required for the XML writer.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of units in this collection</DL></DD></DL><HR><A NAME="get(int)"><!-- --></A><H3>get</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/TickUnit.html" title="class in org.jfree.chart.axis">TickUnit</A> <B>get</B>(int pos)</PRE><DL><DD>Returns the tickunit on the given position. <P> This method is required for the XML writer.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pos</CODE> - the position in the list.<DT><B>Returns:</B><DD>the tickunit.</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" title="class in org.jfree.chart.axis">TickUnit</A> <B>getLargerTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/TickUnit.html" title="class in org.jfree.chart.axis">TickUnit</A> unit)</PRE><DL><DD>Returns a tick unit that is larger than the supplied unit.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html#getLargerTickUnit(org.jfree.chart.axis.TickUnit)">getLargerTickUnit</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</A></CODE></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" title="class in org.jfree.chart.axis">TickUnit</A> <B>getCeilingTickUnit</B>(<A HREF="../../../../org/jfree/chart/axis/TickUnit.html" title="class in org.jfree.chart.axis">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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html#getCeilingTickUnit(org.jfree.chart.axis.TickUnit)">getCeilingTickUnit</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</A></CODE></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" title="class in org.jfree.chart.axis">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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html#getCeilingTickUnit(double)">getCeilingTickUnit</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</A></CODE></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/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</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/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</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/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</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/TickUnitSource.html" title="interface in org.jfree.chart.axis">TickUnitSource</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></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></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 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=3 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="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" title="class in org.jfree.chart.axis"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis"><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 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 + -