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

📄 abstractgraphic.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<PRE>public void <B>setMaxScale</B>(double&nbsp;maxScale)</PRE><DL><DD>Sets the max scale value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setMaxScale</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMinScale()"><!-- --></A><H3>getMinScale</H3><PRE>public double <B>getMinScale</B>()</PRE><DL><DD>Returns the min scale value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getMinScale</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setMinScale(double)"><!-- --></A><H3>setMinScale</H3><PRE>public void <B>setMinScale</B>(double&nbsp;minScale)</PRE><DL><DD>Sets the min scale value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setMinScale</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getZOrderHint()"><!-- --></A><H3>getZOrderHint</H3><PRE>public double <B>getZOrderHint</B>()</PRE><DL><DD>Returns the <var>z</var> order hint value for this graphic. Graphics with highest <var>z</var> order will be painted on top of graphics with lowest <var>z</var> order. The default value is <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#POSITIVE_INFINITY" title="class or interface in java.lang"><CODE>Double.POSITIVE_INFINITY</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getZOrderHint</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setZOrderHint(double)"><!-- --></A><H3>setZOrderHint</H3><PRE>public void <B>setZOrderHint</B>(double&nbsp;zOrderHint)</PRE><DL><DD>Sets the <var>z</var> order hint value for this graphic. Graphics with highest <var>z</var> order will be painted on top of graphics with lowest <var>z</var> order. <p> This method fires a {@value} property change event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setZOrderHint</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getVisible()"><!-- --></A><H3>getVisible</H3><PRE>public boolean <B>getVisible</B>()</PRE><DL><DD>Determines whether this graphic should be visible when its canvas is visible. The default value is .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getVisible</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD> if the graphic is visible,  otherwise.</DL></DD></DL><HR><A NAME="setVisible(boolean)"><!-- --></A><H3>setVisible</H3><PRE>public void <B>setVisible</B>(boolean&nbsp;visible)</PRE><DL><DD>Sets the visible value. This method may be invoked when the user wants to hide momentarily this graphic. <p> This method fires a {@value} property change event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setVisible</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="refresh()"><!-- --></A><H3>refresh</H3><PRE>public void <B>refresh</B>()</PRE><DL><DD>Flags this  object as needing to be redrawn, due to changes to the internal data of the object which affect the rendering of the object. <p> The actual flag set/unset mechanism is implementation-specific. The implementation also choses the manner and timing in which both the flag is checked and the  object is redrawn. <p> An application would call this method when any geometric information for this  object has changed; for example, when the underlying  instance is changed or data in that instance has changed. <p> The default implementation does nothing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>refresh</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="cloneGraphic()"><!-- --></A><H3>cloneGraphic</H3><PRE>public final Graphic <B>cloneGraphic</B>()                                                            throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></PRE><DL><DD>Creates a new  of the same type as this object. The default implementation invokes <A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#clone()"><CODE>clone()</CODE></A>. If the later throws a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CloneNotSupportedException.html" title="class or interface in java.lang"><CODE>CloneNotSupportedException</CODE></A>, then the checked exception is wrapped in an unchecked one. <p> By default,  are not cloneable. Subclasses need to implements the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang"><CODE>Cloneable</CODE></A> interface if they support cloning.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>cloneGraphic</CODE> in interface <CODE>Graphic</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The cloned graphic.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this graphic is not cloneable.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>clone</B>()                throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CloneNotSupportedException.html" title="class or interface in java.lang">CloneNotSupportedException</A></PRE><DL><DD>Creates a new  of the same type as this object. The resulting object should be identical in all respects to the original, except the <A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#getParent()">parent attribute</A> which is set to . <p> By default,  are not cloneable. Subclasses need to implement the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang"><CODE>Cloneable</CODE></A> interface if they support cloning.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The cloned graphic.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CloneNotSupportedException.html" title="class or interface in java.lang">CloneNotSupportedException</A></CODE> - if this graphic is not cloneable.</DL></DD></DL><HR><A NAME="dispose()"><!-- --></A><H3>dispose</H3><PRE>public void <B>dispose</B>()</PRE><DL><DD>Method that can be called when an object is no longer needed. Implementations may use this method to release resources, if needed. Implementations may also implement this method to return an object to an object pool. It is an error to reference a <CODE>Graphic</CODE> or <CODE>Canvas</CODE> in any way after its dispose method has been called.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>dispose</CODE> in interface <CODE>Graphic</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#dispose()">dispose</A></CODE> in class <CODE><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html" title="class in org.geotools.display.canvas">DisplayObject</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLogger()"><!-- --></A><H3>getLogger</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Logger.html" title="class or interface in java.util.logging">Logger</A> <B>getLogger</B>()</PRE><DL><DD>Returns the logger for all messages to be logged by the Geotools implementation of GO-1. If this object is a graphic which is contained in a canvas, then the default implementation returns the canvas logger. Otherwise, this method returns a default one.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#getLogger()">getLogger</A></CODE> in class <CODE><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html" title="class in org.geotools.display.canvas">DisplayObject</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getTreeLock()"><!-- --></A><H3>getTreeLock</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getTreeLock</B>()</PRE><DL><DD>Returns the lock for synchronisation. If this object is contained in a canvas, then this method returns the same lock than the canvas.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</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>toString</B>()</PRE><DL><DD>Returns a string representation of this graphic. This method is for debugging purpose only and may changes in any future version.<P><DD><DL></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/AbstractGraphic.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/AbstractCanvas.html" title="class in org.geotools.display.canvas"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/display/canvas/BufferedCanvas2D.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="AbstractGraphic.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="../../../../all

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -