📄 abstractgraphic.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>AbstractGraphic (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.display.canvas.AbstractGraphic class"><META NAME="keywords" CONTENT="getLocale()"><META NAME="keywords" CONTENT="getName()"><META NAME="keywords" CONTENT="setName()"><META NAME="keywords" CONTENT="getParent()"><META NAME="keywords" CONTENT="setParent()"><META NAME="keywords" CONTENT="setGraphicStyle()"><META NAME="keywords" CONTENT="getGraphicStyle()"><META NAME="keywords" CONTENT="getClientProperty()"><META NAME="keywords" CONTENT="putClientProperty()"><META NAME="keywords" CONTENT="setPassingEventsToParent()"><META NAME="keywords" CONTENT="isPassingEventsToParent()"><META NAME="keywords" CONTENT="setShowingEditHandles()"><META NAME="keywords" CONTENT="isShowingEditHandles()"><META NAME="keywords" CONTENT="setShowingAnchorHandles()"><META NAME="keywords" CONTENT="isShowingAnchorHandles()"><META NAME="keywords" CONTENT="addGraphicListener()"><META NAME="keywords" CONTENT="removeGraphicListener()"><META NAME="keywords" CONTENT="fireGraphicEvent()"><META NAME="keywords" CONTENT="getAutoEdit()"><META NAME="keywords" CONTENT="setAutoEdit()"><META NAME="keywords" CONTENT="getDragSelectable()"><META NAME="keywords" CONTENT="setDragSelectable()"><META NAME="keywords" CONTENT="getPickable()"><META NAME="keywords" CONTENT="setPickable()"><META NAME="keywords" CONTENT="getSelected()"><META NAME="keywords" CONTENT="setSelected()"><META NAME="keywords" CONTENT="getBlinking()"><META NAME="keywords" CONTENT="setBlinking()"><META NAME="keywords" CONTENT="getBlinkPattern()"><META NAME="keywords" CONTENT="setBlinkPattern()"><META NAME="keywords" CONTENT="getSymbology()"><META NAME="keywords" CONTENT="setSymbology()"><META NAME="keywords" CONTENT="getMaxScale()"><META NAME="keywords" CONTENT="setMaxScale()"><META NAME="keywords" CONTENT="getMinScale()"><META NAME="keywords" CONTENT="setMinScale()"><META NAME="keywords" CONTENT="getZOrderHint()"><META NAME="keywords" CONTENT="setZOrderHint()"><META NAME="keywords" CONTENT="getVisible()"><META NAME="keywords" CONTENT="setVisible()"><META NAME="keywords" CONTENT="refresh()"><META NAME="keywords" CONTENT="cloneGraphic()"><META NAME="keywords" CONTENT="clone()"><META NAME="keywords" CONTENT="dispose()"><META NAME="keywords" CONTENT="getLogger()"><META NAME="keywords" CONTENT="getTreeLock()"><META NAME="keywords" CONTENT="toString()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="AbstractGraphic (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/AbstractGraphic.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/AbstractCanvas.html" title="class in org.geotools.display.canvas"><B>PREV CLASS</B></A> <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> <A HREF="AbstractGraphic.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_DisplayObject">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 AbstractGraphic</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"><B>AbstractGraphic</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>Graphic</DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html" title="class in org.geotools.display.canvas">ReferencedGraphic</A></DD></DL><HR><DL><DT>public abstract class <B>AbstractGraphic</B><DT>extends <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html" title="class in org.geotools.display.canvas">DisplayObject</A><DT>implements Graphic</DL><P>The root abstraction of a graphic object taxonomy, specifying the methods common to a lightweight set of graphic objects.<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/AbstractGraphic.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_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> <A NAME="fields_inherited_from_class_Graphic"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface Graphic</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>DEFAULT_AUTO_EDIT, DEFAULT_BLINK_PATTERN, DEFAULT_BLINKING, DEFAULT_DRAG_SELECTABLE, DEFAULT_MAX_SCALE, DEFAULT_MIN_SCALE, DEFAULT_PICKABLE, DEFAULT_SELECTED, DEFAULT_VISIBLE</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/AbstractGraphic.html#AbstractGraphic()">AbstractGraphic</A></B>()</CODE><BR> Creates a new graphic. </TD></TR></TABLE> <!-- ========== 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#addGraphicListener(org.opengis.go.display.event.GraphicListener)">addGraphicListener</A></B>(GraphicListener listener)</CODE><BR> Adds the given to this 's list of listeners. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#clone()">clone</A></B>()</CODE><BR> Creates a new of the same type as this object. </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/AbstractGraphic.html#cloneGraphic()">cloneGraphic</A></B>()</CODE><BR> Creates a new of the same type as this object. </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/AbstractGraphic.html#dispose()">dispose</A></B>()</CODE><BR> 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.</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/AbstractGraphic.html#fireGraphicEvent(org.opengis.go.display.event.GraphicEvent)">fireGraphicEvent</A></B>(GraphicEvent event)</CODE><BR> Calls the graphic event method of all s in this 's list of listeners. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#getAutoEdit()">getAutoEdit</A></B>()</CODE><BR> Returns the auto edit value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#getBlinking()">getBlinking</A></B>()</CODE><BR> Returns the blinking value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#getBlinkPattern()">getBlinkPattern</A></B>()</CODE><BR> Returns the blink pattern value.</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/AbstractGraphic.html#getClientProperty(java.lang.Object)">getClientProperty</A></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> key)</CODE><BR> Returns the value of the property with the specified key. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#getDragSelectable()">getDragSelectable</A></B>()</CODE><BR> Returns the drag selectable value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> GraphicStyle</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html#getGraphicStyle()">getGraphicStyle</A></B>()</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -