org.esa.beam.framework.datamodel
Class PlacemarkGroup

java.lang.Object
  extended by com.bc.ceres.core.ExtensibleObject
      extended by org.esa.beam.framework.datamodel.ProductNode
          extended by org.esa.beam.framework.datamodel.ProductNodeGroup<Placemark>
              extended by org.esa.beam.framework.datamodel.PlacemarkGroup
All Implemented Interfaces:
com.bc.ceres.core.Extensible

public class PlacemarkGroup
extends ProductNodeGroup<Placemark>


Field Summary
 
Fields inherited from class org.esa.beam.framework.datamodel.ProductNode
PROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_NAME
 
Method Summary
 void add(int index, Placemark placemark)
          Adds the given node to this group.
 boolean add(Placemark placemark)
          Adds the given node to this group.
 void dispose()
          Releases all of the resources used by this object instance and all of its owned children.
 Placemark getPlacemark(org.opengis.feature.simple.SimpleFeature feature)
           
 VectorDataNode getVectorDataNode()
           
 boolean remove(Placemark placemark)
          Removes the given node from this group.
 
Methods inherited from class org.esa.beam.framework.datamodel.ProductNodeGroup
acceptVisitor, clearRemovedList, contains, contains, get, get, getByDisplayName, getNodeCount, getNodeDisplayNames, getNodeNames, getRawStorageSize, getRemovedNodes, indexOf, indexOf, isTakingOverNodeOwnership, removeAll, setModified, toArray, toArray, updateExpression
 
Methods inherited from class org.esa.beam.framework.datamodel.ProductNode
fireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setName, setOwner, toString
 
Methods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getVectorDataNode

public VectorDataNode getVectorDataNode()

getPlacemark

public final Placemark getPlacemark(org.opengis.feature.simple.SimpleFeature feature)

add

public boolean add(Placemark placemark)
Description copied from class: ProductNodeGroup
Adds the given node to this group.

Overrides:
add in class ProductNodeGroup<Placemark>
Parameters:
placemark - the node to be added, ignored if null
Returns:
true, if the node has been added

add

public void add(int index,
                Placemark placemark)
Description copied from class: ProductNodeGroup
Adds the given node to this group.

Overrides:
add in class ProductNodeGroup<Placemark>
Parameters:
index - the index.
placemark - the node to be added, ignored if null

remove

public boolean remove(Placemark placemark)
Description copied from class: ProductNodeGroup
Removes the given node from this group.

Overrides:
remove in class ProductNodeGroup<Placemark>
Parameters:
placemark - the node to be removed
Returns:
true, if the node was removed

dispose

public void dispose()
Description copied from class: ProductNode
Releases all of the resources used by this object instance and all of its owned children. Its primary use is to allow the garbage collector to perform a vanilla job.

This method should be called only if it is for sure that this object instance will never be used again. The results of referencing an instance of this class after a call to dispose() are undefined.

Overrides of this method should always call super.dispose(); after disposing this instance.

Overrides:
dispose in class ProductNodeGroup<Placemark>


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