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

📄 graduation.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE><A NAME="VISUAL_AXIS_LENGTH"><!-- --></A><H3>VISUAL_AXIS_LENGTH</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.Key.html" title="class or interface in java.awt">RenderingHints.Key</A> <B>VISUAL_AXIS_LENGTH</B></PRE><DL><DD>Rendering hint for the axis length, in pixels or points (1/72 of inch). Values for this key must be <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A> objects. This hint is used together with <A HREF="../../../org/geotools/axis/Graduation.html#VISUAL_TICK_SPACING"><CODE>VISUAL_TICK_SPACING</CODE></A> during <A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis"><CODE>TickIterator</CODE></A> creation in order to compute a tick increment value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/Graduation.html#getTickIterator(java.awt.RenderingHints, org.geotools.axis.TickIterator)"><CODE>getTickIterator(java.awt.RenderingHints, org.geotools.axis.TickIterator)</CODE></A></DL></DL><HR><A NAME="VISUAL_TICK_SPACING"><!-- --></A><H3>VISUAL_TICK_SPACING</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.Key.html" title="class or interface in java.awt">RenderingHints.Key</A> <B>VISUAL_TICK_SPACING</B></PRE><DL><DD>Rendering hint for the preferred spacing between ticks, in pixels or points (1/72 of inch). Values for this key must be <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A> objects. This hint is used together with <A HREF="../../../org/geotools/axis/Graduation.html#VISUAL_AXIS_LENGTH"><CODE>VISUAL_AXIS_LENGTH</CODE></A> during <A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis"><CODE>TickIterator</CODE></A> creation in order to compute a tick increment value. The tick spacing really used may be slightly different, since <A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis"><CODE>TickIterator</CODE></A> may choose a rounded value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/Graduation.html#getTickIterator(java.awt.RenderingHints, org.geotools.axis.TickIterator)"><CODE>getTickIterator(java.awt.RenderingHints, org.geotools.axis.TickIterator)</CODE></A></DL></DL><HR><A NAME="TICK_LABEL_FONT"><!-- --></A><H3>TICK_LABEL_FONT</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.Key.html" title="class or interface in java.awt">RenderingHints.Key</A> <B>TICK_LABEL_FONT</B></PRE><DL><DD>The font to use for rendering tick labels. Value for this key must be a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html" title="class or interface in java.awt"><CODE>Font</CODE></A> object. If this hint is not provided, a default font will be used.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/Axis2D.html#paint(java.awt.Graphics2D)"><CODE>Axis2D.paint(java.awt.Graphics2D)</CODE></A></DL></DL><HR><A NAME="AXIS_TITLE_FONT"><!-- --></A><H3>AXIS_TITLE_FONT</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.Key.html" title="class or interface in java.awt">RenderingHints.Key</A> <B>AXIS_TITLE_FONT</B></PRE><DL><DD>The font to use for rendering the title. Value for this key must be a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html" title="class or interface in java.awt"><CODE>Font</CODE></A> object. If this hint is not provided, a default font will be used.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/Axis2D.html#paint(java.awt.Graphics2D)"><CODE>Axis2D.paint(java.awt.Graphics2D)</CODE></A></DL></DL><!-- ========= 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="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/Graduation.html#getUnit()"><CODE>getUnit()</CODE></A> units.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/Graduation.html#getMaximum()"><CODE>getMaximum()</CODE></A>, <A HREF="../../../org/geotools/axis/Graduation.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.<P><DD><DL><DT><B>Returns:</B><DD>The maximal value in <A HREF="../../../org/geotools/axis/Graduation.html#getUnit()"><CODE>getUnit()</CODE></A> units.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/axis/Graduation.html#getMinimum()"><CODE>getMinimum()</CODE></A>, <A HREF="../../../org/geotools/axis/Graduation.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/Graduation.html#getMaximum()"><CODE>getMaximum()</CODE></A>-<A HREF="../../../org/geotools/axis/Graduation.html#getMinimum()"><CODE>getMinimum()</CODE></A></code>. However, some implementation may optimize this computation in order to avoid rounding errors.<P><DD><DL></DL></DD></DL><HR><A NAME="getTitle(boolean)"><!-- --></A><H3>getTitle</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>getTitle</B>(boolean&nbsp;includeSymbol)</PRE><DL><DD>Returns the axis title. If  is , then the returned string will includes units as in "Temperature (癈)", or time zone as in "Start time (UTC)". The exact formatting is local-dependent.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>includeSymbol</CODE> -  to format the unit or timezone symbol after the name.<DT><B>Returns:</B><DD>The graduation name (also to be use as axis title).</DL></DD></DL><HR><A NAME="getUnit()"><!-- --></A><H3>getUnit</H3><PRE>public <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> <B>getUnit</B>()</PRE><DL><DD>Returns the graduation's units, or  if unknow.<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 to use for formatting title and labels.<P><DD><DL></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>&nbsp;hints,                                    <A HREF="../../../org/geotools/axis/TickIterator.html" title="interface in org.geotools.axis">TickIterator</A>&nbsp;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>VISUAL_AXIS_LENGTH</CODE></A> and <A HREF="../../../org/geotools/axis/Graduation.html#VISUAL_TICK_SPACING"><CODE>VISUAL_TICK_SPACING</CODE></A> keys.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hints</CODE> - Rendering hints for the axis, 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="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>addPropertyChangeListener</H3><PRE>public void <B>addPropertyChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans">PropertyChangeListener</A>&nbsp;listener)</PRE><DL><DD>Adds a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans"><CODE>PropertyChangeListener</CODE></A> to the listener list. The listener is registered for all properties, such as "label" and "locale".<P><DD><DL></DL></DD></DL><HR><A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>removePropertyChangeListener</H3><PRE>public void <B>removePropertyChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans">PropertyChangeListener</A>&nbsp;listener)</PRE><DL><DD>Removes a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans"><CODE>PropertyChangeListener</CODE></A> from the listener list.<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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Graduation.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../org/geotools/axis/TickIterator.html" title="interface 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>  &nbsp;&nbsp;<A HREF="Graduation.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -