📄 dategraduation.html
字号:
<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>See Also:</B><DD><A HREF="../../../org/geotools/axis/Graduation.html#getMaximum()"><CODE>Graduation.getMaximum()</CODE></A>, <A HREF="../../../org/geotools/axis/AbstractGraduation.html#setMinimum(double)"><CODE>AbstractGraduation.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. The value is in units of <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getUnit()"><CODE>AbstractGraduation.getUnit()</CODE></A>. By default, it is the number of millisecondes ellapsed since January 1st, 1970 at 00:00 UTC.<P><DD><DL><DT><B>Returns:</B><DD>The minimal value in <A HREF="../../../org/geotools/axis/Graduation.html#getUnit()"><CODE>Graduation.getUnit()</CODE></A> units.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/DateGraduation.html#setMinimum(double)"><CODE>setMinimum(double)</CODE></A>, <A HREF="../../../org/geotools/axis/DateGraduation.html#getMaximum()"><CODE>getMaximum()</CODE></A>, <A HREF="../../../org/geotools/axis/DateGraduation.html#getRange()"><CODE>getRange()</CODE></A></DL></DD></DL><HR><A NAME="getMaximum()"><!-- --></A><H3>getMaximum</H3><PRE>public double <B>getMaximum</B>()</PRE><DL><DD>Returns the maximal value for this graduation. The value is in units of <A HREF="../../../org/geotools/axis/AbstractGraduation.html#getUnit()"><CODE>AbstractGraduation.getUnit()</CODE></A>. By default, it is the number of millisecondes ellapsed since January 1st, 1970 at 00:00 UTC.<P><DD><DL><DT><B>Returns:</B><DD>The maximal value in <A HREF="../../../org/geotools/axis/Graduation.html#getUnit()"><CODE>Graduation.getUnit()</CODE></A> units.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/DateGraduation.html#setMaximum(double)"><CODE>setMaximum(double)</CODE></A>, <A HREF="../../../org/geotools/axis/DateGraduation.html#getMinimum()"><CODE>getMinimum()</CODE></A>, <A HREF="../../../org/geotools/axis/DateGraduation.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/DateGraduation.html#getMaximum()"><CODE>getMaximum()</CODE></A>-<A HREF="../../../org/geotools/axis/DateGraduation.html#getMinimum()"><CODE>getMinimum()</CODE></A></code>, but using integer arithmetic.<P><DD><DL></DL></DD></DL><HR><A NAME="getTimeZone()"><!-- --></A><H3>getTimeZone</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/TimeZone.html" title="class or interface in java.util">TimeZone</A> <B>getTimeZone</B>()</PRE><DL><DD>Returns the timezone for this graduation.<P><DD><DL></DL></DD></DL><HR><A NAME="setTimeZone(java.util.TimeZone)"><!-- --></A><H3>setTimeZone</H3><PRE>public void <B>setTimeZone</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/TimeZone.html" title="class or interface in java.util">TimeZone</A> timezone)</PRE><DL><DD>Sets the time zone for this graduation. This affect only the way labels are displayed.<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> unit) 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>unit</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 the specified unit is not a time unit.</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 choose to show or hide hours, minutes and seconds.<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/DateGraduation.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/Axis2D.TickIterator.html" title="class in org.geotools.axis"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/axis/LogarithmicNumberGraduation.html" title="class in org.geotools.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="DateGraduation.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 + -