📄 abstractcanvas.html
字号:
<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Graphic</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#add(org.opengis.go.display.primitive.Graphic)">add</A></B>(Graphic graphic)</CODE><BR> Adds the given to this . </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Graphic</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#addAsEditable(org.opengis.go.display.primitive.Graphic)">addAsEditable</A></B>(Graphic graphic)</CODE><BR> Adds the given to this , immediately placing the in an editing/drawing mode. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#addCanvasListener(org.opengis.go.display.canvas.CanvasListener)">addCanvasListener</A></B>(CanvasListener listener)</CODE><BR> Adds the given listener that will be notified when the state of this has changed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#addEventManager(org.opengis.go.display.event.EventManager)">addEventManager</A></B>(EventManager eventManager)</CODE><BR> Adds the subinterface if it not currently in the 's collection of s.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#clearCache()">clearCache</A></B>()</CODE><BR> Clears all cached data. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#dispose()">dispose</A></B>()</CODE><BR> Method that may be called when a is no longer needed. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#disposeEventManagers()">disposeEventManagers</A></B>()</CODE><BR> Method that may be called when the s of a are no longer needed. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#enableCanvasHandler(org.opengis.go.display.canvas.CanvasHandler)">enableCanvasHandler</A></B>(CanvasHandler handler)</CODE><BR> Enables the given , removing the current handler (if any).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> EventManager</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#findEventManager(java.lang.Class)">findEventManager</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> type)</CODE><BR> Returns the subinterface, based on the class type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> CanvasHandler</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getActiveCanvasHandler()">getActiveCanvasHandler</A></B>()</CODE><BR> Returns the currently active or if no handler is active.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> DerivedCRS</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getDeviceCRS()">getDeviceCRS</A></B>()</CODE><BR> Returns the Coordinate Reference System associated with the device of this . </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> CoordinateReferenceSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getDisplayCoordinateReferenceSystem()">getDisplayCoordinateReferenceSystem</A></B>()</CODE><BR> Synonymous for <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getDisplayCRS()"><CODE>getDisplayCRS()</CODE></A> provided for the <CODE>Canvas</CODE> contract.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract DerivedCRS</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getDisplayCRS()">getDisplayCRS</A></B>()</CODE><BR> Returns the Coordinate Reference System associated with the display of this . </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> DisplayFactory</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getFactory()">getFactory</A></B>()</CODE><BR> Returns the display factory associated with this canvas, or if none.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getGraphics()">getGraphics</A></B>()</CODE><BR> Returns all graphics in this canvas. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> CoordinateReferenceSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getObjectiveCoordinateReferenceSystem()">getObjectiveCoordinateReferenceSystem</A></B>()</CODE><BR> Synonymous for <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getObjectiveCRS()"><CODE>getObjectiveCRS()</CODE></A> provided for the <CODE>Canvas</CODE> contract.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract CoordinateReferenceSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getObjectiveCRS()">getObjectiveCRS</A></B>()</CODE><BR> Returns the objective Coordinate Reference System (the projection of a georeferenced CRS) for this . </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getRenderingHint(java.awt.RenderingHints.Key)">getRenderingHint</A></B>(<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> key)</CODE><BR> Returns a rendering hint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getTitle()">getTitle</A></B>()</CODE><BR> Returns the title assigned to this , or if none. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#getUID()">getUID</A></B>()</CODE><BR> Returns the unique identifier of this , which is assigned by the implementation. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#graphicPropertyChanged(org.geotools.display.canvas.AbstractGraphic, java.beans.PropertyChangeEvent)">graphicPropertyChanged</A></B>(<A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html" title="class in org.geotools.display.canvas">AbstractGraphic</A> graphic, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/beans/PropertyChangeEvent.html" title="class or interface in java.beans">PropertyChangeEvent</A> event)</CODE><BR> Invoked automatically when a graphic registered in this canvas changed. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#remove(org.opengis.go.display.primitive.Graphic)">remove</A></B>(Graphic graphic)</CODE><BR> Removes the given from this . </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#removeAll()">removeAll</A></B>()</CODE><BR> Remove all graphics from this canvas. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#removeCanvasHandler(org.opengis.go.display.canvas.CanvasHandler)">removeCanvasHandler</A></B>(CanvasHandler handler)</CODE><BR> Removes the given from this .</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#removeCanvasListener(org.opengis.go.display.canvas.CanvasListener)">removeCanvasListener</A></B>(CanvasListener listener)</CODE><BR> Removes the given listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#setObjectiveCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem)">setObjectiveCoordinateReferenceSystem</A></B>(CoordinateReferenceSystem crs)</CODE><BR> <B>Deprecated.</B> <I>Use <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#setObjectiveCRS(org.opengis.referencing.crs.CoordinateReferenceSystem)"><CODE>setObjectiveCRS(org.opengis.referencing.crs.CoordinateReferenceSystem)</CODE></A> instead. A coordinate transformation may fails, but unfortunatly the method signature for this method can't declare a <CODE>TransformException</CODE> for such case.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#setObjectiveCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem, org.opengis.referencing.operation.MathTransform, org.opengis.referencing.operation.MathTransform)">setObjectiveCoordinateReferenceSystem</A></B>(CoordinateReferenceSystem crs, MathTransform objectiveToDisplay, MathTransform displayToObjective)</CODE><BR> <B>Deprecated.</B> <I>Use <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#setObjectiveCRS(org.opengis.referencing.crs.CoordinateReferenceSystem)"><CODE>setObjectiveCRS</CODE></A> followed by <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#setObjectiveToDisplayTransform(org.opengis.referencing.operation.MathTransform)"><CODE>setObjectiveToDisplayTransform</CODE></A> instead. The former is typically invoked only once, while the later is invoked everytime the zoom changes.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html#setObjectiveCRS(org.opengis.referencing.crs.CoordinateReferenceSystem)">setObjectiveCRS</A></B>(CoordinateReferenceSystem crs)</CODE><BR> Sets the objective Coordinate Reference System for this .</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -