📄 gtcomponent.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:23 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>GTComponent (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.event.GTComponent interface"><META NAME="keywords" CONTENT="getParent()"><META NAME="keywords" CONTENT="getNote()"><META NAME="keywords" CONTENT="setNote()"><META NAME="keywords" CONTENT="removed()"><META NAME="keywords" CONTENT="changed()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="GTComponent (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/GTComponent.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"> PREV CLASS <A HREF="../../../org/geotools/event/GTDelta.html" title="interface in org.geotools.event"><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="GTComponent.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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.event</FONT><BR>Interface GTComponent</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/geotools/styling/AnchorPoint.html" title="interface in org.geotools.styling">AnchorPoint</A>, <A HREF="../../../org/geotools/styling/ChannelSelection.html" title="interface in org.geotools.styling">ChannelSelection</A>, <A HREF="../../../org/geotools/styling/ColorMap.html" title="interface in org.geotools.styling">ColorMap</A>, <A HREF="../../../org/geotools/styling/ColorMapEntry.html" title="interface in org.geotools.styling">ColorMapEntry</A>, <A HREF="../../../org/geotools/styling/ContrastEnhancement.html" title="interface in org.geotools.styling">ContrastEnhancement</A>, <A HREF="../../../org/geotools/styling/Displacement.html" title="interface in org.geotools.styling">Displacement</A>, <A HREF="../../../org/geotools/styling/Extent.html" title="interface in org.geotools.styling">Extent</A>, <A HREF="../../../org/geotools/styling/ExternalGraphic.html" title="interface in org.geotools.styling">ExternalGraphic</A>, <A HREF="../../../org/geotools/styling/FeatureTypeConstraint.html" title="interface in org.geotools.styling">FeatureTypeConstraint</A>, <A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A>, <A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A>, <A HREF="../../../org/geotools/styling/Font.html" title="interface in org.geotools.styling">Font</A>, <A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A>, <A HREF="../../../org/geotools/event/GTRoot.html" title="interface in org.geotools.event">GTRoot</A>, <A HREF="../../../org/geotools/styling/Halo.html" title="interface in org.geotools.styling">Halo</A>, <A HREF="../../../org/geotools/styling/ImageOutline.html" title="interface in org.geotools.styling">ImageOutline</A>, <A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A>, <A HREF="../../../org/geotools/styling/LayerFeatureConstraints.html" title="interface in org.geotools.styling">LayerFeatureConstraints</A>, <A HREF="../../../org/geotools/styling/LinePlacement.html" title="interface in org.geotools.styling">LinePlacement</A>, <A HREF="../../../org/geotools/styling/LineSymbolizer.html" title="interface in org.geotools.styling">LineSymbolizer</A>, <A HREF="../../../org/geotools/styling/Mark.html" title="interface in org.geotools.styling">Mark</A>, <A HREF="../../../org/geotools/styling/NamedLayer.html" title="interface in org.geotools.styling">NamedLayer</A>, <A HREF="../../../org/geotools/styling/NamedStyle.html" title="interface in org.geotools.styling">NamedStyle</A>, <A HREF="../../../org/geotools/styling/PointPlacement.html" title="interface in org.geotools.styling">PointPlacement</A>, <A HREF="../../../org/geotools/styling/PointSymbolizer.html" title="interface in org.geotools.styling">PointSymbolizer</A>, <A HREF="../../../org/geotools/styling/PolygonSymbolizer.html" title="interface in org.geotools.styling">PolygonSymbolizer</A>, <A HREF="../../../org/geotools/styling/RasterSymbolizer.html" title="interface in org.geotools.styling">RasterSymbolizer</A>, <A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A>, <A HREF="../../../org/geotools/styling/SelectedChannelType.html" title="interface in org.geotools.styling">SelectedChannelType</A>, <A HREF="../../../org/geotools/styling/ShadedRelief.html" title="interface in org.geotools.styling">ShadedRelief</A>, <A HREF="../../../org/geotools/styling/Stroke.html" title="interface in org.geotools.styling">Stroke</A>, <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>, <A HREF="../../../org/geotools/styling/StyledLayer.html" title="interface in org.geotools.styling">StyledLayer</A>, <A HREF="../../../org/geotools/styling/StyledLayerDescriptor.html" title="interface in org.geotools.styling">StyledLayerDescriptor</A>, <A HREF="../../../org/geotools/styling/Symbol.html" title="interface in org.geotools.styling">Symbol</A>, <A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>, <A HREF="../../../org/geotools/styling/TextMark.html" title="interface in org.geotools.styling">TextMark</A>, <A HREF="../../../org/geotools/styling/TextSymbolizer.html" title="interface in org.geotools.styling">TextSymbolizer</A>, <A HREF="../../../org/geotools/styling/TextSymbolizer2.html" title="interface in org.geotools.styling">TextSymbolizer2</A>, <A HREF="../../../org/geotools/styling/UserLayer.html" title="interface in org.geotools.styling">UserLayer</A></DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/geotools/event/AbstractGTComponent.html" title="class in org.geotools.event">AbstractGTComponent</A>, <A HREF="../../../org/geotools/event/AbstractGTRoot.html" title="class in org.geotools.event">AbstractGTRoot</A>, <A HREF="../../../org/geotools/styling/AnchorPointImpl.html" title="class in org.geotools.styling">AnchorPointImpl</A>, <A HREF="../../../org/geotools/styling/BasicLineStyle.html" title="class in org.geotools.styling">BasicLineStyle</A>, <A HREF="../../../org/geotools/styling/BasicPolygonStyle.html" title="class in org.geotools.styling">BasicPolygonStyle</A>, <A HREF="../../../org/geotools/styling/ChannelSelectionImpl.html" title="class in org.geotools.styling">ChannelSelectionImpl</A>, <A HREF="../../../org/geotools/styling/ColorMapEntryImpl.html" title="class in org.geotools.styling">ColorMapEntryImpl</A>, <A HREF="../../../org/geotools/styling/ColorMapImpl.html" title="class in org.geotools.styling">ColorMapImpl</A>, <A HREF="../../../org/geotools/styling/ContrastEnhancementImpl.html" title="class in org.geotools.styling">ContrastEnhancementImpl</A>, <A HREF="../../../org/geotools/styling/DisplacementImpl.html" title="class in org.geotools.styling">DisplacementImpl</A>, <A HREF="../../../org/geotools/styling/ExtentImpl.html" title="class in org.geotools.styling">ExtentImpl</A>, <A HREF="../../../org/geotools/styling/ExternalGraphicImpl.html" title="class in org.geotools.styling">ExternalGraphicImpl</A>, <A HREF="../../../org/geotools/styling/FeatureTypeConstraintImpl.html" title="class in org.geotools.styling">FeatureTypeConstraintImpl</A>, <A HREF="../../../org/geotools/styling/FeatureTypeStyleImpl.html" title="class in org.geotools.styling">FeatureTypeStyleImpl</A>, <A HREF="../../../org/geotools/styling/FillImpl.html" title="class in org.geotools.styling">FillImpl</A>, <A HREF="../../../org/geotools/styling/FontImpl.html" title="class in org.geotools.styling">FontImpl</A>, <A HREF="../../../org/geotools/styling/GraphicImpl.html" title="class in org.geotools.styling">GraphicImpl</A>, <A HREF="../../../org/geotools/event/GTConstant.html" title="class in org.geotools.event">GTConstant</A>, <A HREF="../../../org/geotools/styling/HaloImpl.html" title="class in org.geotools.styling">HaloImpl</A>, <A HREF="../../../org/geotools/styling/ImageOutlineImpl.html" title="class in org.geotools.styling">ImageOutlineImpl</A>, <A HREF="../../../org/geotools/styling/LayerFeatureConstraintsImpl.html" title="class in org.geotools.styling">LayerFeatureConstraintsImpl</A>, <A HREF="../../../org/geotools/styling/LinePlacementImpl.html" title="class in org.geotools.styling">LinePlacementImpl</A>, <A HREF="../../../org/geotools/styling/LineSymbolizerImpl.html" title="class in org.geotools.styling">LineSymbolizerImpl</A>, <A HREF="../../../org/geotools/styling/MarkImpl.html" title="class in org.geotools.styling">MarkImpl</A>, <A HREF="../../../org/geotools/styling/NamedLayerImpl.html" title="class in org.geotools.styling">NamedLayerImpl</A>, <A HREF="../../../org/geotools/styling/NamedStyleImpl.html" title="class in org.geotools.styling">NamedStyleImpl</A>, <A HREF="../../../org/geotools/styling/PointPlacementImpl.html" title="class in org.geotools.styling">PointPlacementImpl</A>, <A HREF="../../../org/geotools/styling/PointSymbolizerImpl.html" title="class in org.geotools.styling">PointSymbolizerImpl</A>, <A HREF="../../../org/geotools/styling/PolygonSymbolizerImpl.html" title="class in org.geotools.styling">PolygonSymbolizerImpl</A>, <A HREF="../../../org/geotools/styling/RasterSymbolizerImpl.html" title="class in org.geotools.styling">RasterSymbolizerImpl</A>, <A HREF="../../../org/geotools/styling/RuleImpl.html" title="class in org.geotools.styling">RuleImpl</A>, <A HREF="../../../org/geotools/styling/SelectedChannelTypeImpl.html" title="class in org.geotools.styling">SelectedChannelTypeImpl</A>, <A HREF="../../../org/geotools/styling/ShadedReliefImpl.html" title="class in org.geotools.styling">ShadedReliefImpl</A>, <A HREF="../../../org/geotools/styling/StrokeImpl.html" title="class in org.geotools.styling">StrokeImpl</A>, <A HREF="../../../org/geotools/styling/StyledLayerDescriptorImpl.html" title="class in org.geotools.styling">StyledLayerDescriptorImpl</A>, <A HREF="../../../org/geotools/styling/StyledLayerImpl.html" title="class in org.geotools.styling">StyledLayerImpl</A>, <A HREF="../../../org/geotools/styling/StyleImpl.html" title="class in org.geotools.styling">StyleImpl</A>, <A HREF="../../../org/geotools/styling/TextMarkImpl.html" title="class in org.geotools.styling">TextMarkImpl</A>, <A HREF="../../../org/geotools/styling/TextSymbolizerImpl.html" title="class in org.geotools.styling">TextSymbolizerImpl</A>, <A HREF="../../../org/geotools/styling/UserLayerImpl.html" title="class in org.geotools.styling">UserLayerImpl</A></DD></DL><HR><DL><DT>public interface <B>GTComponent</B></DL><P>Provides support for Parent/Child relationships for the event system. <p> Several of the GeoTools objects are produced in reference to specifications, in particular XML based specifications. Often we try and match the same abstractions present in a specification like SLD or Filter. But rather then make use of pure Java Beans, and make user interface code responsible for managing a host of listeners we are providing a single set of listeners located at the object matching the document base. <p> For more Details: <ul> <li>This design is similar to EMF, or JFace use (aka borrow code examples) <li>Not specific to Documents, the Catalog api will use these events <li>We do try and match the document structure perfectly for Feature/FeatureCollection/GML (so that the same XPath expressions can be respected). FeatureCollection and Feature have their own well explored structure and issues and will not be using this event system. Given the size of FeatureCollections it is not practicle for each child to "know" its parent. </ul> <p><P><P><DL><DT><B>Author:</B></DT> <DD>Jody Garnett</DD><DT><B>Module:</B></DT><DD><CODE><B>module/api</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-api/"><CODE>gt2-api.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/api/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/module/api/src/org/geotools/event/GTComponent.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== 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/event/GTComponent.html#changed(org.geotools.event.GTDelta)">changed</A></B>(<A HREF="../../../org/geotools/event/GTDelta.html" title="interface in org.geotools.event">GTDelta</A> delta)</CODE><BR> A child has been changed (maybe added), issued after change. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/event/GTNote.html" title="interface in org.geotools.event">GTNote</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/event/GTComponent.html#getNote()">getNote</A></B>()</CODE><BR> Small stratagy object passed in by our parent so we can call home. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/event/GTComponent.html" title="interface in org.geotools.event">GTComponent</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/event/GTComponent.html#getParent()">getParent</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use getNote().getParent()</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/event/GTComponent.html#removed(org.geotools.event.GTDelta)">removed</A></B>(<A HREF="../../../org/geotools/event/GTDelta.html" title="interface in org.geotools.event">GTDelta</A> delta)</CODE><BR> A child has been removed, issued before change. </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/event/GTComponent.html#setNote(org.geotools.event.GTNote)">setNote</A></B>(<A HREF="../../../org/geotools/event/GTNote.html" title="interface in org.geotools.event">GTNote</A> container)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -