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

📄 referencedgraphic.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>mt</CODE> - The math transform from the old objective CRS to the new one.<DT><B>Throws:</B><DD><CODE>TransformException</CODE> - If a transformation failed.</DL></DD></DL><HR><A NAME="getEnvelope()"><!-- --></A><H3>getEnvelope</H3><PRE>public Envelope <B>getEnvelope</B>()</PRE><DL><DD>Returns an envelope that completly encloses the graphic. Note that there is no guarantee that the returned envelope is the smallest bounding box that encloses the graphic, only that the graphic lies entirely within the indicated envelope. <p> The default implementation returns a <A HREF="../../../../org/geotools/geometry/GeneralEnvelope.html#setToNull()">null envelope</A>. Subclasses should compute their envelope and invoke <A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html#setEnvelope(org.opengis.spatialschema.geometry.Envelope)"><CODE>setEnvelope(org.opengis.spatialschema.geometry.Envelope)</CODE></A> as soon as they can.<P><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html#setEnvelope(org.opengis.spatialschema.geometry.Envelope)"><CODE>setEnvelope(org.opengis.spatialschema.geometry.Envelope)</CODE></A></DL></DD></DL><HR><A NAME="setEnvelope(org.opengis.spatialschema.geometry.Envelope)"><!-- --></A><H3>setEnvelope</H3><PRE>protected void <B>setEnvelope</B>(Envelope&nbsp;newEnvelope)                    throws TransformException</PRE><DL><DD>Set the envelope for this graphic. Subclasses should invokes this method as soon as they known their envelope. <p> This method fires a {@value} property change event.<P><DD><DL><DT><B>Throws:</B><DD><CODE>TransformException</CODE> - if the specified envelope can't be transformed to the         <A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html#getObjectiveCRS()">objective CRS</A>.</DL></DD></DL><HR><A NAME="getTypicalCellDimension(org.opengis.spatialschema.geometry.DirectPosition)"><!-- --></A><H3>getTypicalCellDimension</H3><PRE>public double[] <B>getTypicalCellDimension</B>(DirectPosition&nbsp;position)</PRE><DL><DD>Returns a typical cell dimension in terms of <A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html#getObjectiveCRS()">objective CRS</A>. For images, this is the pixels size in "real world" units. For other kind of graphics, "cell dimension" are to be understood as some dimension representative of the graphic resolution.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - The position where to evaluate the cell dimension. In the default         implementation, this position is ignored.<DT><B>Returns:</B><DD>A typical cell size in <A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html#getObjectiveCRS()">objective CRS</A>,         or  if none.</DL></DD></DL><HR><A NAME="setTypicalCellDimension(double[])"><!-- --></A><H3>setTypicalCellDimension</H3><PRE>protected void <B>setTypicalCellDimension</B>(double[]&nbsp;size)                                throws MismatchedDimensionException</PRE><DL><DD>Set the typical cell dimension. Subclasses may invoke this method after they computed some typical value. The default implementation of <A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html#getTypicalCellDimension(org.opengis.spatialschema.geometry.DirectPosition)"><CODE>getTypicalCellDimension(org.opengis.spatialschema.geometry.DirectPosition)</CODE></A> will returns this value for all positions.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - A typical cell size, in terms of objective CRS.<DT><B>Throws:</B><DD><CODE>MismatchedDimensionException</CODE> - if the specified cell size doesn't have the         expected number of dimensions.</DL></DD></DL><HR><A NAME="getToolTipText(org.geotools.display.event.ReferencedEvent)"><!-- --></A><H3>getToolTipText</H3><PRE>protected <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>getToolTipText</B>(<A HREF="../../../../org/geotools/display/event/ReferencedEvent.html" title="interface in org.geotools.display.event">ReferencedEvent</A>&nbsp;event)</PRE><DL><DD>Returns the string to be used as the tooltip for a given event. The default implementation always returns . Subclasses should override this method if they can provide tool tips for some location.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - The event.<DT><B>Returns:</B><DD>The tool tip text, or  if there is no tool tip for the given location.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas.html#getToolTipText(org.geotools.display.event.ReferencedEvent)"><CODE>ReferencedCanvas.getToolTipText(org.geotools.display.event.ReferencedEvent)</CODE></A></DL></DD></DL><HR><A NAME="getAction(org.geotools.display.event.ReferencedEvent)"><!-- --></A><H3>getAction</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Action.html" title="class or interface in javax.swing">Action</A> <B>getAction</B>(<A HREF="../../../../org/geotools/display/event/ReferencedEvent.html" title="interface in org.geotools.display.event">ReferencedEvent</A>&nbsp;event)</PRE><DL><DD>Returns the action to run when some action occured over this graphic. The default implementation return always , which means that no action is defined for this graphic. Subclasses which override this method should check if the event is really located over a visual component of this graphic (for example over a geometry).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - The event.<DT><B>Returns:</B><DD>The action for this graphic, or  if none.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas.html#getAction(org.geotools.display.event.ReferencedEvent)"><CODE>ReferencedCanvas.getAction(org.geotools.display.event.ReferencedEvent)</CODE></A></DL></DD></DL><HR><A NAME="format(org.geotools.display.event.ReferencedEvent, java.lang.StringBuffer)"><!-- --></A><H3>format</H3><PRE>protected boolean <B>format</B>(<A HREF="../../../../org/geotools/display/event/ReferencedEvent.html" title="interface in org.geotools.display.event">ReferencedEvent</A>&nbsp;event,                         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/StringBuffer.html" title="class or interface in java.lang">StringBuffer</A>&nbsp;toAppendTo)</PRE><DL><DD>Formats a value for the specified event position. This method doesn't have to format the coordinate (this is <CODE>MouseCoordinateFormat#format(GeoMouseEvent)</CODE> business). Instead, it is invoked for formatting a value at the specified event position. For example a remote sensing image of <cite>Sea Surface Temperature</cite> (SST) can format the temperature in geophysical units (e.g. "12癈"). The default implementation do nothing and returns .<P><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - The event.<DD><CODE>toAppendTo</CODE> - The destination buffer for formatting a value.<DT><B>Returns:</B><DD> if this method has formatted a value, or  otherwise.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas.html#format(org.geotools.display.event.ReferencedEvent, java.lang.StringBuffer)"><CODE>ReferencedCanvas.format(org.geotools.display.event.ReferencedEvent, java.lang.StringBuffer)</CODE></A>, <CODE>MouseCoordinateFormat#format(GeoMouseEvent)</CODE></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/ReferencedGraphic.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;<A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas2D.html" title="class in org.geotools.display.canvas"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic2D.html" title="class in org.geotools.display.canvas"><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="ReferencedGraphic.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="#fields_inherited_from_class_DisplayObject">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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 + -