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

📄 numbergraduation.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 format to use for formatting labels. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/axis/NumberGraduation.html#getMaximum()">getMaximum</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximal value for this graduation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/axis/NumberGraduation.html#getMinimum()">getMinimum</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimal value for this graduation</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/axis/NumberGraduation.html#getRange()">getRange</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the graduation's range. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/axis/NumberGraduation.html#getTickIterator(java.awt.RenderingHints, org.geotools.axis.TickIterator)">getTickIterator</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A>&nbsp;hints,                <A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A>&nbsp;reuse)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator object that iterates along the graduation ticks and provides access to the graduation values. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/axis/NumberGraduation.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hash value for this graduation.</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/NumberGraduation.html#setMaximum(double)">setMaximum</A></B>(double&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the maximum value for this graduation. </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/NumberGraduation.html#setMinimum(double)">setMinimum</A></B>(double&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the minimum value for this graduation. </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/NumberGraduation.html#setRange(double, double, javax.units.Unit)">setRange</A></B>(double&nbsp;min,         double&nbsp;max,         <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A>&nbsp;unit)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the graduation's minimum, maximum and units. </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/NumberGraduation.html#setUnit(javax.units.Unit)">setUnit</A></B>(<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A>&nbsp;newUnit)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the graduation's units. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_AbstractGraduation"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/axis/AbstractGraduation.html" title="class in org.geotools.axis">AbstractGraduation</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getLocale()">getLocale</A>, <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getTitle(boolean)">getTitle</A>, <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getUnit()">getUnit</A>, <A HREF="../../../org/geotools/axis/AbstractGraduation.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, <A HREF="../../../org/geotools/axis/AbstractGraduation.html#setLocale(java.util.Locale)">setLocale</A>, <A HREF="../../../org/geotools/axis/AbstractGraduation.html#setTitle(java.lang.String)">setTitle</A></CODE></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#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#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="NumberGraduation(javax.units.Unit)"><!-- --></A><H3>NumberGraduation</H3><PRE>public <B>NumberGraduation</B>(<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A>&nbsp;unit)</PRE><DL><DD>Construct a graduation with the supplied units.<P><DT><B>Parameters:</B><DD><CODE>unit</CODE> - The axis's units, or  if unknow.</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="setMinimum(double)"><!-- --></A><H3>setMinimum</H3><PRE>public boolean <B>setMinimum</B>(double&nbsp;value)                   throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Set the minimum value for this graduation. If the new minimum is greater than the current maximum, then the maximum will also be set to a value greater than or equals to the minimum.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html#setMinimum(double)">setMinimum</A></CODE> in class <CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html" title="class in org.geotools.axis">AbstractGraduation</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The new minimum in <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getUnit()"><CODE>AbstractGraduation.getUnit()</CODE></A> units.<DT><B>Returns:</B><DD> if the state of this graduation changed         as a result of this call, or  if the new         value is identical to the previous one.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - Si  is NaN ou infinite.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/NumberGraduation.html#getMinimum()"><CODE>getMinimum()</CODE></A>, <A HREF="../../../org/geotools/axis/NumberGraduation.html#setMaximum(double)"><CODE>setMaximum(double)</CODE></A></DL></DD></DL><HR><A NAME="setMaximum(double)"><!-- --></A><H3>setMaximum</H3><PRE>public boolean <B>setMaximum</B>(double&nbsp;value)                   throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Set the maximum value for this graduation. If the new maximum is less than the current minimum, then the minimum will also be set to a value less than or equals to the maximum.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html#setMaximum(double)">setMaximum</A></CODE> in class <CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html" title="class in org.geotools.axis">AbstractGraduation</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The new maximum in <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getUnit()"><CODE>AbstractGraduation.getUnit()</CODE></A> units.<DT><B>Returns:</B><DD> if the state of this graduation changed as a result of this call,         or  if the new value is identical to the previous one.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - If  is NaN ou infinite.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/NumberGraduation.html#getMaximum()"><CODE>getMaximum()</CODE></A>, <A HREF="../../../org/geotools/axis/NumberGraduation.html#setMinimum(double)"><CODE>setMinimum(double)</CODE></A></DL></DD></DL><HR><A NAME="getMinimum()"><!-- --></A><H3>getMinimum</H3><PRE>public double <B>getMinimum</B>()</PRE><DL><DD>Returns the minimal value for this graduation<P><DD><DL><DT><B>Returns:</B><DD>The minimal value in <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getUnit()"><CODE>AbstractGraduation.getUnit()</CODE></A> units.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/NumberGraduation.html#setMinimum(double)"><CODE>setMinimum(double)</CODE></A>, <A HREF="../../../org/geotools/axis/NumberGraduation.html#getMaximum()"><CODE>getMaximum()</CODE></A>, <A HREF="../../../org/geotools/axis/NumberGraduation.html#getRange()"><CODE>getRange()</CODE></A></DL></DD></DL><HR><A NAME="getMaximum()"><!-- --></A><H3>

⌨️ 快捷键说明

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