📄 referencedcanvas.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:41 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>ReferencedCanvas (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.display.canvas.ReferencedCanvas class"><META NAME="keywords" CONTENT="getEnvelope()"><META NAME="keywords" CONTENT="getState()"><META NAME="keywords" CONTENT="getTypicalCellDimension()"><META NAME="keywords" CONTENT="getScale()"><META NAME="keywords" CONTENT="setScale()"><META NAME="keywords" CONTENT="add()"><META NAME="keywords" CONTENT="remove()"><META NAME="keywords" CONTENT="removeAll()"><META NAME="keywords" CONTENT="graphicPropertyChanged()"><META NAME="keywords" CONTENT="getTopGraphicAt()"><META NAME="keywords" CONTENT="getGraphicsAt()"><META NAME="keywords" CONTENT="getGraphicsIn()"><META NAME="keywords" CONTENT="isVisible()"><META NAME="keywords" CONTENT="format()"><META NAME="keywords" CONTENT="getToolTipText()"><META NAME="keywords" CONTENT="getAction()"><META NAME="keywords" CONTENT="getObjectiveCRS()"><META NAME="keywords" CONTENT="setObjectiveCRS()"><META NAME="keywords" CONTENT="getDisplayCRS()"><META NAME="keywords" CONTENT="setDisplayCRS()"><META NAME="keywords" CONTENT="getDeviceCRS()"><META NAME="keywords" CONTENT="setDeviceCRS()"><META NAME="keywords" CONTENT="setDisplayToDeviceTransform()"><META NAME="keywords" CONTENT="setObjectiveToDisplayTransform()"><META NAME="keywords" CONTENT="getObjectiveToDisplayTransform()"><META NAME="keywords" CONTENT="getDisplayToObjectiveTransform()"><META NAME="keywords" CONTENT="toObjectivePosition()"><META NAME="keywords" CONTENT="toDisplayPosition()"><META NAME="keywords" CONTENT="clearCache()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="ReferencedCanvas (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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/ReferencedCanvas.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/display/canvas/ImageType.html" title="class in org.geotools.display.canvas"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas2D.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> <A HREF="ReferencedCanvas.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_AbstractCanvas">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_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.display.canvas</FONT><BR>Class ReferencedCanvas</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html" title="class in org.geotools.display.canvas">DisplayObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html" title="class in org.geotools.display.canvas">AbstractCanvas</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>ReferencedCanvas</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>Canvas</DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas2D.html" title="class in org.geotools.display.canvas">ReferencedCanvas2D</A></DD></DL><HR><DL><DT>public abstract class <B>ReferencedCanvas</B><DT>extends <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html" title="class in org.geotools.display.canvas">AbstractCanvas</A></DL><P>A canvas implementation with default support for Coordinate Reference System (CRS) management. This abstract class provides some common facilities for various implementations. This class has no dependencies to the AWT or <cite>Java2D</cite> toolkits. Subclasses can choose an other graphics toolkit (e.g. SWT) if they wish, including a 3D one. <p> Note that because this class is not tied to any widget toolkit, it has no idea about what are the widget visible area bounds. For this class, the <A HREF="../../../../org/geotools/display/canvas/map/DefaultMapState.html#getEnvelope()">canvas envelope</A> is an envelope that completly encloses all graphic primitives, regardless of any map scale or zoom factor. Subclasses like <A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas2D.html" title="class in org.geotools.display.canvas"><CODE>ReferencedCanvas2D</CODE></A> will restrict that to an envelope that encloses only the visible part of this canvas.<P><P><DL><DT><B>Since:</B></DT> <DD>2.3</DD><DT><B>Author:</B></DT> <DD>Martin Desruisseaux</DD><DT><B>Module:</B></DT><DD><CODE><B>ext/go</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-go/"><CODE>gt2-go.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/go/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/ext/go/src/org/geotools/display/canvas/ReferencedCanvas.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR></TABLE> <A NAME="fields_inherited_from_class_AbstractCanvas"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html" title="class in org.geotools.display.canvas">AbstractCanvas</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#FINEST_RESOLUTION">FINEST_RESOLUTION</A>, <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#hints">hints</A>, <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#PREFETCH">PREFETCH</A>, <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#REQUIRED_RESOLUTION">REQUIRED_RESOLUTION</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_DisplayObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html" title="class in org.geotools.display.canvas">DisplayObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#DISPLAY_BOUNDS_PROPERTY">DISPLAY_BOUNDS_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#DISPLAY_CRS_PROPERTY">DISPLAY_CRS_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#ENVELOPE_PROPERTY">ENVELOPE_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#GRAPHICS_PROPERTY">GRAPHICS_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#listeners">listeners</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#NAME_PROPERTY">NAME_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#OBJECTIVE_CRS_PROPERTY">OBJECTIVE_CRS_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#PARENT_PROPERTY">PARENT_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#SCALE_PROPERTY">SCALE_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#TITLE_PROPERTY">TITLE_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#VISIBLE_PROPERTY">VISIBLE_PROPERTY</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#Z_ORDER_HINT_PROPERTY">Z_ORDER_HINT_PROPERTY</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas.html#ReferencedCanvas(org.opengis.go.display.DisplayFactory, org.opengis.referencing.crs.CoordinateReferenceSystem, org.geotools.factory.Hints)">ReferencedCanvas</A></B>(DisplayFactory factory, CoordinateReferenceSystem objectiveCRS, <A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints)</CODE><BR> Creates an initially empty canvas with the specified objective CRS.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -