|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.FeatureListenerManager
This class is used by DataStore implementations to provide FeatureListener support for the FeatureSources they create.
FeatureWriters created by the DataStore will need to make use of this class to provide the required FeatureEvents.
Constructor Summary | |
FeatureListenerManager()
|
Method Summary | |
void |
addFeatureListener(FeatureSource featureSource,
FeatureListener featureListener)
Used by FeaureSource implementations to provide listener support. |
javax.swing.event.EventListenerList |
eventListenerList(FeatureSource featureSource)
|
void |
fireChanged(java.lang.String typeName,
Transaction transaction,
boolean commit)
Notify all listeners that have registered interest for notification on this event type. |
void |
fireFeaturesAdded(java.lang.String typeName,
Transaction transaction,
com.vividsolutions.jts.geom.Envelope bounds,
boolean commit)
Notify all listeners that have registered interest for notification on this event type. |
void |
fireFeaturesChanged(java.lang.String typeName,
Transaction transaction,
com.vividsolutions.jts.geom.Envelope bounds,
boolean commit)
Notify all listeners that have registered interest for notification on this event type. |
void |
fireFeaturesRemoved(java.lang.String typeName,
Transaction transaction,
com.vividsolutions.jts.geom.Envelope bounds,
boolean commit)
Notify all listeners that have registered interest for notification on this event type. |
void |
removeFeatureListener(FeatureSource featureSource,
FeatureListener featureListener)
Used by FeatureSource implementations to provide listener support. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FeatureListenerManager()
Method Detail |
public void addFeatureListener(FeatureSource featureSource, FeatureListener featureListener)
featureSource
- featureListener
- public void removeFeatureListener(FeatureSource featureSource, FeatureListener featureListener)
featureSource
- featureListener
- public javax.swing.event.EventListenerList eventListenerList(FeatureSource featureSource)
public void fireFeaturesAdded(java.lang.String typeName, Transaction transaction, com.vividsolutions.jts.geom.Envelope bounds, boolean commit)
This method is called by:
typeName
- typeName being modifiedtransaction
- Transaction used for changebounds
- BoundingBox of changes (may be null
if
unknown)public void fireFeaturesChanged(java.lang.String typeName, Transaction transaction, com.vividsolutions.jts.geom.Envelope bounds, boolean commit)
This method is called by:
typeName
- typeName being modifiedtransaction
- Transaction used for changebounds
- BoundingBox of changes (may be null
if
unknown)public void fireChanged(java.lang.String typeName, Transaction transaction, boolean commit)
This method is called by:
typeName
- typeName being modifiedtransaction
- Transaction used for changecommit
- true
for commit
,
false
for rollback
public void fireFeaturesRemoved(java.lang.String typeName, Transaction transaction, com.vividsolutions.jts.geom.Envelope bounds, boolean commit)
This method is called by:
typeName
- typeName being modifiedtransaction
- Transaction used for changebounds
- BoundingBox of changes (may be null
if
unknown)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |