📄 numbergraduation.html
字号:
getMaximum</H3><PRE>public double <B>getMaximum</B>()</PRE><DL><DD>Returns the maximal value for this graduation.<P><DD><DL><DT><B>Returns:</B><DD>The maximal 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#setMaximum(double)"><CODE>setMaximum(double)</CODE></A>, <A HREF="../../../org/geotools/axis/NumberGraduation.html#getMinimum()"><CODE>getMinimum()</CODE></A>, <A HREF="../../../org/geotools/axis/NumberGraduation.html#getRange()"><CODE>getRange()</CODE></A></DL></DD></DL><HR><A NAME="getRange()"><!-- --></A><H3>getRange</H3><PRE>public double <B>getRange</B>()</PRE><DL><DD>Returns the graduation's range. This is equivalents to computing <code><A HREF="../../../org/geotools/axis/NumberGraduation.html#getMaximum()"><CODE>getMaximum()</CODE></A>-<A HREF="../../../org/geotools/axis/NumberGraduation.html#getMinimum()"><CODE>getMinimum()</CODE></A></code>.<P><DD><DL></DL></DD></DL><HR><A NAME="setRange(double, double, javax.units.Unit)"><!-- --></A><H3>setRange</H3><PRE>public void <B>setRange</B>(double min, double max, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Sets the graduation's minimum, maximum and units. This method will fire property change events for , and property names.<P><DD><DL></DL></DD></DL><HR><A NAME="setUnit(javax.units.Unit)"><!-- --></A><H3>setUnit</H3><PRE>public void <B>setUnit</B>(<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> newUnit) throws <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/ConversionException.html" title="class or interface in javax.units">ConversionException</A></PRE><DL><DD>Changes the graduation's units. This method will automatically convert minimum and maximum values from the old units to the new one.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html#setUnit(javax.units.Unit)">setUnit</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>newUnit</CODE> - The new units, or if unknow. If null, minimum and maximum values are not converted.<DT><B>Throws:</B><DD><CODE><A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/ConversionException.html" title="class or interface in javax.units">ConversionException</A></CODE> - if units are not convertible.</DL></DD></DL><HR><A NAME="getFormat()"><!-- --></A><H3>getFormat</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/text/Format.html" title="class or interface in java.text">Format</A> <B>getFormat</B>()</PRE><DL><DD>Returns the format to use for formatting labels. The format really used by <A HREF="../../../org/geotools/axis/TickIterator.html#currentLabel()"><CODE>TickIterator.currentLabel()</CODE></A> may not be the same. For example, some iterators may adjust automatically the number of fraction digits.<P><DD><DL></DL></DD></DL><HR><A NAME="getTickIterator(java.awt.RenderingHints, org.geotools.axis.TickIterator)"><!-- --></A><H3>getTickIterator</H3><PRE>public <A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A> <B>getTickIterator</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> hints, <A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A> reuse)</PRE><DL><DD>Returns an iterator object that iterates along the graduation ticks and provides access to the graduation values. If an optional <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt"><CODE>RenderingHints</CODE></A> is specified, tick locations are adjusted according values for <A HREF="../../../org/geotools/axis/Graduation.html#VISUAL_AXIS_LENGTH"><CODE>Graduation.VISUAL_AXIS_LENGTH</CODE></A> and <A HREF="../../../org/geotools/axis/Graduation.html#VISUAL_TICK_SPACING"><CODE>Graduation.VISUAL_TICK_SPACING</CODE></A> keys.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hints</CODE> - Rendering hints, or for the default hints.<DD><CODE>reuse</CODE> - An iterator to reuse if possible, or to create a new one. A non-null object may help to reduce the number of object garbage-collected when rendering the axis.<DT><B>Returns:</B><DD>A iterator to use for iterating through the graduation. This iterator may or may not be the object.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object)</PRE><DL><DD>Compares this graduation with the specified object for equality. This method do not compare registered listeners.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html#equals(java.lang.Object)">equals</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></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash value for this graduation.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/axis/AbstractGraduation.html#hashCode()">hashCode</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></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/NumberGraduation.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/LogarithmicNumberGraduation.html" title="class 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="NumberGraduation.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 | <A HREF="#fields_inherited_from_class_AbstractGraduation">FIELD</A> | <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>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 + -