📄 tickiterator.html
字号:
Reset the iterator on its first tick. </TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="hasNext()"><!-- --></A><H3>hasNext</H3><PRE>public boolean <B>hasNext</B>()</PRE><DL><DD>Tests if the iterator has more ticks.<P><DD><DL></DL></DD></DL><HR><A NAME="isMajorTick()"><!-- --></A><H3>isMajorTick</H3><PRE>public boolean <B>isMajorTick</B>()</PRE><DL><DD>Tests if the current tick is a major one.<P><DD><DL><DT><B>Returns:</B><DD> if current tick is a major tick, or if it is a minor tick.</DL></DD></DL><HR><A NAME="currentPosition()"><!-- --></A><H3>currentPosition</H3><PRE>public double <B>currentPosition</B>()</PRE><DL><DD>Returns the position where to draw the current tick. The position is scaled from the graduation's minimum to maximum. This is usually the same number than <A HREF="../../../org/geotools/axis/TickIterator.html#currentValue()"><CODE>currentValue()</CODE></A>. The mean exception is for logarithmic graduation, in which the tick position is not proportional to the tick value.<P><DD><DL></DL></DD></DL><HR><A NAME="currentValue()"><!-- --></A><H3>currentValue</H3><PRE>public double <B>currentValue</B>()</PRE><DL><DD>Returns the value for current tick. The current tick may be major or minor.<P><DD><DL></DL></DD></DL><HR><A NAME="currentLabel()"><!-- --></A><H3>currentLabel</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>currentLabel</B>()</PRE><DL><DD>Returns the label for current tick. This method is usually invoked only for major ticks, but may be invoked for minor ticks as well. This method returns if it can't produces a label for current tick.<P><DD><DL></DL></DD></DL><HR><A NAME="next()"><!-- --></A><H3>next</H3><PRE>public void <B>next</B>()</PRE><DL><DD>Moves the iterator to the next minor or major tick.<P><DD><DL></DL></DD></DL><HR><A NAME="nextMajor()"><!-- --></A><H3>nextMajor</H3><PRE>public void <B>nextMajor</B>()</PRE><DL><DD>Moves the iterator to the next major tick. This move ignore any minor ticks between current position and the next major tick.<P><DD><DL></DL></DD></DL><HR><A NAME="rewind()"><!-- --></A><H3>rewind</H3><PRE>public void <B>rewind</B>()</PRE><DL><DD>Reset the iterator on its first tick. All other properties are left unchanged.<P><DD><DL></DL></DD></DL><HR><A NAME="getLocale()"><!-- --></A><H3>getLocale</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A> <B>getLocale</B>()</PRE><DL><DD>Returns the locale used for formatting tick labels.<P><DD><DL></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="class-use/TickIterator.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-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/geotools/axis/Graduation.html" title="interface in org.geotools.axis"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="TickIterator.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -