org.esa.beam.framework.ui.product
Class ProductTreeListenerAdapter

java.lang.Object
  extended by org.esa.beam.framework.ui.product.ProductTreeListenerAdapter
All Implemented Interfaces:
EventListener, ProductTreeListener, ProductTreeListener2

public abstract class ProductTreeListenerAdapter
extends Object
implements ProductTreeListener2

A listener adapter for product tree changes.

Since:
BEAM 4.7

Constructor Summary
ProductTreeListenerAdapter()
           
 
Method Summary
 void bandSelected(Band band, int clickCount)
          Called when a product's band has been selected in the tree.
 void metadataElementSelected(MetadataElement metadataElement, int clickCount)
          Called when a product's metadata element has been selected in the tree.
 void productAdded(Product product)
          Called when a product has been added to the tree.
 void productNodeSelected(ProductNode productNode, int clickCount)
          Called when a product's node has been selected in the tree.
 void productRemoved(Product product)
          Called when a product has been removed from the tree.
 void productSelected(Product product, int clickCount)
          Called when a product has been selected in the tree.
 void tiePointGridSelected(TiePointGrid tiePointGrid, int clickCount)
          Called when a product's tie-point grid has been selected in the tree.
 void vectorDataSelected(VectorDataNode vectorDataNode, int clickCount)
          Called when a product's node has been selected in the tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductTreeListenerAdapter

public ProductTreeListenerAdapter()
Method Detail

productAdded

public void productAdded(Product product)
Called when a product has been added to the tree.

Specified by:
productAdded in interface ProductTreeListener
Parameters:
product - The product.

productRemoved

public void productRemoved(Product product)
Called when a product has been removed from the tree.

Specified by:
productRemoved in interface ProductTreeListener
Parameters:
product - The product.

productSelected

public void productSelected(Product product,
                            int clickCount)
Called when a product has been selected in the tree.

Specified by:
productSelected in interface ProductTreeListener
Parameters:
product - The selected product.
clickCount - The number of mouse clicks.

metadataElementSelected

public void metadataElementSelected(MetadataElement metadataElement,
                                    int clickCount)
Called when a product's metadata element has been selected in the tree.

Specified by:
metadataElementSelected in interface ProductTreeListener
Parameters:
metadataElement - The selected metadata element.
clickCount - The number of mouse clicks.

tiePointGridSelected

public void tiePointGridSelected(TiePointGrid tiePointGrid,
                                 int clickCount)
Called when a product's tie-point grid has been selected in the tree.

Specified by:
tiePointGridSelected in interface ProductTreeListener
Parameters:
tiePointGrid - The selected tie-point grid.
clickCount - The number of mouse clicks.

bandSelected

public void bandSelected(Band band,
                         int clickCount)
Called when a product's band has been selected in the tree.

Specified by:
bandSelected in interface ProductTreeListener
Parameters:
band - The selected band.
clickCount - The number of mouse clicks.

vectorDataSelected

public void vectorDataSelected(VectorDataNode vectorDataNode,
                               int clickCount)
Called when a product's node has been selected in the tree.

Specified by:
vectorDataSelected in interface ProductTreeListener2
Parameters:
vectorDataNode - The selected vector data.
clickCount - The number of mouse clicks.
Since:
BEAM 4.7

productNodeSelected

public void productNodeSelected(ProductNode productNode,
                                int clickCount)
Called when a product's node has been selected in the tree.

Specified by:
productNodeSelected in interface ProductTreeListener2
Parameters:
productNode - The selected product node.
clickCount - The number of mouse clicks.
Since:
BEAM 4.7


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.