Package org.esa.snap.core.datamodel
Class ProductNodeListenerAdapter
- java.lang.Object
-
- org.esa.snap.core.datamodel.ProductNodeListenerAdapter
-
- All Implemented Interfaces:
ProductNodeListener
public class ProductNodeListenerAdapter extends Object implements ProductNodeListener
A listener adapter which listens to product internal changes. This class is an emply implementation of theProductNodeListener
interface and is defined to overwrite some method you need without implementing methods which are not needed.- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ProductNodeListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
nodeAdded(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node was added.void
nodeChanged(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node changed.void
nodeDataChanged(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node's data changed.void
nodeRemoved(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node was removed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.esa.snap.core.datamodel.ProductNodeListener
nodeDisposing
-
-
-
-
Method Detail
-
nodeChanged
public void nodeChanged(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node changed.- Specified by:
nodeChanged
in interfaceProductNodeListener
- Parameters:
event
- the product node which the listener to be notified
-
nodeDataChanged
public void nodeDataChanged(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node's data changed.- Specified by:
nodeDataChanged
in interfaceProductNodeListener
- Parameters:
event
- the product node which the listener to be notified
-
nodeAdded
public void nodeAdded(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node was added.- Specified by:
nodeAdded
in interfaceProductNodeListener
- Parameters:
event
- the product node which the listener to be notified
-
nodeRemoved
public void nodeRemoved(ProductNodeEvent event)
Overwrite this method if you want to be notified when a node was removed.- Specified by:
nodeRemoved
in interfaceProductNodeListener
- Parameters:
event
- the product node which the listener to be notified
-
-