📄 featurelistenermanager.html
字号:
FeatureListenerManager</H3><PRE>public <B>FeatureListenerManager</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="addFeatureListener(org.geotools.data.FeatureSource, org.geotools.data.FeatureListener)"><!-- --></A><H3>addFeatureListener</H3><PRE>public void <B>addFeatureListener</B>(<A HREF="../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A> featureSource, <A HREF="../../../org/geotools/data/FeatureListener.html" title="interface in org.geotools.data">FeatureListener</A> featureListener)</PRE><DL><DD>Used by FeaureSource implementations to provide listener support.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>featureSource</CODE> - <DD><CODE>featureListener</CODE> - </DL></DD></DL><HR><A NAME="removeFeatureListener(org.geotools.data.FeatureSource, org.geotools.data.FeatureListener)"><!-- --></A><H3>removeFeatureListener</H3><PRE>public void <B>removeFeatureListener</B>(<A HREF="../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A> featureSource, <A HREF="../../../org/geotools/data/FeatureListener.html" title="interface in org.geotools.data">FeatureListener</A> featureListener)</PRE><DL><DD>Used by FeatureSource implementations to provide listener support.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>featureSource</CODE> - <DD><CODE>featureListener</CODE> - </DL></DD></DL><HR><A NAME="eventListenerList(org.geotools.data.FeatureSource)"><!-- --></A><H3>eventListenerList</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/event/EventListenerList.html" title="class or interface in javax.swing.event">EventListenerList</A> <B>eventListenerList</B>(<A HREF="../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A> featureSource)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="cleanListenerList(org.geotools.data.FeatureSource)"><!-- --></A><H3>cleanListenerList</H3><PRE>public void <B>cleanListenerList</B>(<A HREF="../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A> featureSource)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="fireFeaturesAdded(java.lang.String, org.geotools.data.Transaction, com.vividsolutions.jts.geom.Envelope, boolean)"><!-- --></A><H3>fireFeaturesAdded</H3><PRE>public void <B>fireFeaturesAdded</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction, <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> bounds, boolean commit)</PRE><DL><DD>Notify all listeners that have registered interest for notification on this event type. <p> This method is called by: </p> <ul> <li> FeatureWriter.next() with FeatureWriter.hasNext() == false<br> - when an existing Feature is removed with Tranasaction.AUTO_COMMIT all listeners registered with FeatureSource of typeName will be notified. </li> <li> FeatureWriter.next()with FeatureWriter.hasNext() == false<br> - when an existing Feature is removed with a Transaction all listeners registered with FeatureSource of typeName and with the same Transaction will be notified. </li> </ul><P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - typeName being modified<DD><CODE>transaction</CODE> - Transaction used for change<DD><CODE>bounds</CODE> - BoundingBox of changes (may be <code>null</code> if unknown)</DL></DD></DL><HR><A NAME="fireFeaturesChanged(java.lang.String, org.geotools.data.Transaction, com.vividsolutions.jts.geom.Envelope, boolean)"><!-- --></A><H3>fireFeaturesChanged</H3><PRE>public void <B>fireFeaturesChanged</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction, <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> bounds, boolean commit)</PRE><DL><DD>Notify all listeners that have registered interest for notification on this event type. <p> This method is called by: </p> <ul> <li> FeatureWriter.next() with FeatureWriter.hasNext() == true <br> - when an existing Feature is modified with Tranasaction.AUTO_COMMIT all listeners registered with FeatureSource of typeName will be notified. </li> <li> FeatureWriter.next()with FeatureWriter.hasNext() == true <br> - when an existing Feature is modified, with a Transaction all listeners registered with FeatureSource of typeName and with the same Transaction will be notified. </li> </ul><P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - typeName being modified<DD><CODE>transaction</CODE> - Transaction used for change<DD><CODE>bounds</CODE> - BoundingBox of changes (may be <code>null</code> if unknown)</DL></DD></DL><HR><A NAME="fireChanged(java.lang.String, org.geotools.data.Transaction, boolean)"><!-- --></A><H3>fireChanged</H3><PRE>public void <B>fireChanged</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction, boolean commit)</PRE><DL><DD>Notify all listeners that have registered interest for notification on this event type. <p> This method is called by: </p> <ul> <li> Transaction.commit()<br> - when changes have occured on a Transaction all listeners registered with FeatureSource of typeName will be notified except those with the Same Transaction </li> <li> Transaction.rollback()<br> - when changes have been reverted only those listeners registered with FeatureSource of typeName and with the same Transaction will be notified. </li> </ul><P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - typeName being modified<DD><CODE>transaction</CODE> - Transaction used for change<DD><CODE>commit</CODE> - <code>true</code> for <code>commit</code>, <code>false</code> for <code>rollback</code></DL></DD></DL><HR><A NAME="fireFeaturesRemoved(java.lang.String, org.geotools.data.Transaction, com.vividsolutions.jts.geom.Envelope, boolean)"><!-- --></A><H3>fireFeaturesRemoved</H3><PRE>public void <B>fireFeaturesRemoved</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction, <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> bounds, boolean commit)</PRE><DL><DD>Notify all listeners that have registered interest for notification on this event type. <p> This method is called by: </p> <ul> <li> FeatureWrtier.remove() - when an existing Feature is removed with Tranasaction.AUTO_COMMIT all listeners registered with FeatureSource of typeName will be notified. </li> <li> FeatureWrtier.remove() - when an existing Feature is removed with a Transaction all listeners registered with FeatureSource of typeName and with the same Transaction will be notified. </li> </ul><P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - typeName being modified<DD><CODE>transaction</CODE> - Transaction used for change<DD><CODE>bounds</CODE> - BoundingBox of changes (may be <code>null</code> if unknown)</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> </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/FeatureListenerManager.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/data/FeatureEvent.html" title="class in org.geotools.data"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/data/FeatureLockFactory.html" title="class in org.geotools.data"><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="FeatureListenerManager.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 | <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_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -