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

📄 axis2d.tickiterator.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value for current tick. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/axis/Axis2D.TickIterator.html#getLocale()">getLocale</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the locale used for formatting tick labels.</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/geotools/axis/Axis2D.TickIterator.html#hasNext()">hasNext</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the iterator has more ticks.</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/geotools/axis/Axis2D.TickIterator.html#isMajorTick()">isMajorTick</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the current tick is a major one.</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/geotools/axis/Axis2D.TickIterator.html#next()">next</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the iterator to the next minor or major tick.</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/geotools/axis/Axis2D.TickIterator.html#nextMajor()">nextMajor</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the iterator to the next major tick. </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/geotools/axis/Axis2D.TickIterator.html#refresh()">refresh</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset the iterator on its first tick. </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/geotools/axis/Axis2D.TickIterator.html#rewind()">rewind</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset the iterator on its first tick. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Axis2D.TickIterator(java.awt.font.FontRenderContext)"><!-- --></A><H3>Axis2D.TickIterator</H3><PRE>public <B>Axis2D.TickIterator</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/font/FontRenderContext.html" title="class or interface in java.awt.font">FontRenderContext</A>&nbsp;fontContext)</PRE><DL><DD>Construct an iterator.<P><DT><B>Parameters:</B><DD><CODE>fontContext</CODE> - Information needed to correctly measure text, or         if unknow. This object is usually given by        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html#getFontRenderContext()" title="class or interface in java.awt"><CODE>Graphics2D.getFontRenderContext()</CODE></A>.</DL><!-- ============ 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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/axis/TickIterator.html#hasNext()">hasNext</A></CODE> in interface <CODE><A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A></CODE></DL></DD><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>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/axis/TickIterator.html#isMajorTick()">isMajorTick</A></CODE> in interface <CODE><A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A></CODE></DL></DD><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/Axis2D.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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/axis/TickIterator.html#currentPosition()">currentPosition</A></CODE> in interface <CODE><A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A></CODE></DL></DD><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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/axis/TickIterator.html#currentValue()">currentValue</A></CODE> in interface <CODE><A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="currentPosition(java.awt.geom.Point2D)"><!-- --></A><H3>currentPosition</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>currentPosition</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;dest)</PRE><DL><DD>Returns the coordinates of the intersection point between current tick and the underlying axis. Units are the same than axis start point (<A HREF="../../../org/geotools/axis/Axis2D.html#getX1()"><var>x<sub>1</sub></var></A>,<A HREF="../../../org/geotools/axis/Axis2D.html#getY1()"><var>y<sub>1</sub></var></A>) and end point (<A HREF="../../../org/geotools/axis/Axis2D.html#getX2()"><var>x<sub>2</sub></var></A>,<A HREF="../../../org/geotools/axis/Axis2D.html#getY2()"><var>y<sub>2</sub></var></A>). This is usually pixels.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dest</CODE> - A destination point that stores the intersection coordinates,         or  to create a new <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom"><CODE>Point2D</CODE></A> object.<DT><B>Returns:</B><DD>, or a new <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom"><CODE>Point2D</CODE></A> object if  was null.</DL></DD></DL><HR><A NAME="currentTick(java.awt.geom.Line2D)"><!-- --></A><H3>currentTick</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Line2D.html" title="class or interface in java.awt.geom">Line2D</A> <B>currentTick</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Line2D.html" title="class or interface in java.awt.geom">Line2D</A>&nbsp;dest)</PRE><DL><DD>Returns the coordinates of the current tick. Units are the same than axis start point (<A HREF="../../../org/geotools/axis/Axis2D.html#getX1()"><var>x<sub>1</sub></var></A>,<A HREF="../../../org/geotools/axis/Axis2D.html#getY1()"><var>y<sub>1</sub></var></A>) and end point (<A HREF="../../../org/geotools/axis/Axis2D.html#getX2()"><var>x<sub>2</sub></var></A>,<A HREF="../../../org/geotools/axis/Axis2D.html#getY2()"><var>y<sub>2</sub></var></A>). This is usually pixels.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dest</CODE> - A destination line that stores the current tick coordinates,         or  to create a new <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Line2D.html" title="class or interface in java.awt.geom"><CODE>Line2D</CODE></A> object.<DT><B>Returns:</B><DD>, or a new <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Line2D.html" title="class or interface in java.awt.geom"><CODE>Line2D</CODE></A> object if  was null.</DL></DD></DL>

⌨️ 快捷键说明

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