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

📄 defaultmapstate.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD><CODE><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#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;<A NAME="methods_inherited_from_class_CanvasState"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface CanvasState</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, getCenter, getTitle</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="DefaultMapState(java.lang.String, org.opengis.spatialschema.geometry.Envelope, java.awt.Rectangle, double)"><!-- --></A><H3>DefaultMapState</H3><PRE>public <B>DefaultMapState</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;title,                       Envelope&nbsp;envelope,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,                       double&nbsp;scale)</PRE><DL><DD>Creates a canvas state with the specified title and envelope. The center position is infered from the envelope.<P><DT><B>Parameters:</B><DD><CODE>title</CODE> - The title of the canvas.<DD><CODE>envelope</CODE> - The visible geographic map boundary, in objective CRS.<DD><CODE>bounds</CODE> - The widget bounds, in display CRS.<DD><CODE>scale</CODE> - The scale of the canvas.</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="getPixelWidth()"><!-- --></A><H3>getPixelWidth</H3><PRE>public int <B>getPixelWidth</B>()</PRE><DL><DD>Gets the pixel width of the <CODE>Canvas</CODE> represented by this map state.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getPixelWidth</CODE> in interface <CODE>Map2DState</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPixelHeight()"><!-- --></A><H3>getPixelHeight</H3><PRE>public int <B>getPixelHeight</B>()</PRE><DL><DD>Gets the pixel height of the <CODE>Canvas</CODE> represented by this map state.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getPixelHeight</CODE> in interface <CODE>Map2DState</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMapWidth(javax.units.Unit)"><!-- --></A><H3>getMapWidth</H3><PRE>public double <B>getMapWidth</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>Gets the map width of the  represented by this map state, in terms of the given units.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getMapWidth</CODE> in interface <CODE>Map2DState</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - The unit for the return value.<DT><B>Returns:</B><DD>The width in terms of the given unit.</DL></DD></DL><HR><A NAME="getMapHeight(javax.units.Unit)"><!-- --></A><H3>getMapHeight</H3><PRE>public double <B>getMapHeight</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>Gets the map height of the  represented by this map state, in terms of the given units.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - The unit for the return value.<DT><B>Returns:</B><DD>The width in terms of the given unit.</DL></DD></DL><HR><A NAME="getScale()"><!-- --></A><H3>getScale</H3><PRE>public double <B>getScale</B>()</PRE><DL><DD>Gets the scale of the <CODE>Canvas</CODE> represented by this map state.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getScale</CODE> in interface <CODE>Map2DState</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getEnvelope()"><!-- --></A><H3>getEnvelope</H3><PRE>public Envelope <B>getEnvelope</B>()</PRE><DL><DD>Gets the envelope of the <CODE>Canvas</CODE> represented by this map state. This is the <em>visible</em> geographic map boundary, in objective CRS. This envelope is scale dependent.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getEnvelope</CODE> in interface <CODE>Map2DState</CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/display/canvas/ReferencedCanvas.html#getEnvelope()"><CODE>ReferencedCanvas.getEnvelope()</CODE></A></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>&nbsp;object)</PRE><DL><DD>Determines if the given object is the same type of canvas state object and has values equal to this one.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>equals</CODE> in interface <CODE>CanvasState</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/display/canvas/DefaultCanvasState.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/display/canvas/DefaultCanvasState.html" title="class in org.geotools.display.canvas">DefaultCanvasState</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>&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/DefaultMapState.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;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DefaultMapState.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;FIELD&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 + -