Package org.esa.snap.core.datamodel
Class PlacemarkGroup
- All Implemented Interfaces:
Extensible
-
Field Summary
Fields inherited from class org.esa.snap.core.datamodel.ProductNode
PROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_NAME -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given node to this group.booleanAdds the given node to this group.voiddispose()Releases all of the resources used by this object instance and all of its owned children.final PlacemarkgetPlacemark(org.opengis.feature.simple.SimpleFeature feature) booleanRemoves the given node from this group.Methods inherited from class org.esa.snap.core.datamodel.ProductNodeGroup
acceptVisitor, clearRemovedList, contains, contains, get, get, getByDisplayName, getNodeCount, getNodeDisplayNames, getNodeNames, getRawStorageSize, getRemovedNodes, indexOf, indexOf, isTakingOverNodeOwnership, removeAll, setModified, toArray, toArray, updateExpressionMethods inherited from class org.esa.snap.core.datamodel.ProductNode
fireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setName, setNodeName, setOwner, toStringMethods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
-
Method Details
-
getVectorDataNode
-
getPlacemark
-
add
Description copied from class:ProductNodeGroupAdds the given node to this group.- Overrides:
addin classProductNodeGroup<Placemark>- Parameters:
placemark- the node to be added, ignored ifnull- Returns:
- true, if the node has been added
-
add
Description copied from class:ProductNodeGroupAdds the given node to this group.- Overrides:
addin classProductNodeGroup<Placemark>- Parameters:
index- the index.placemark- the node to be added, ignored ifnull
-
remove
Description copied from class:ProductNodeGroupRemoves the given node from this group.- Overrides:
removein classProductNodeGroup<Placemark>- Parameters:
placemark- the node to be removed- Returns:
- true, if the node was removed
-
dispose
public void dispose()Description copied from class:ProductNodeReleases 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:
disposein classProductNodeGroup<Placemark>
-