public class PlacemarkGroup extends ProductNodeGroup<Placemark>
PROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_NAME
Modifier and Type | Method and Description |
---|---|
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.
|
acceptVisitor, clearRemovedList, contains, contains, get, get, getByDisplayName, getNodeCount, getNodeDisplayNames, getNodeNames, getRawStorageSize, getRemovedNodes, indexOf, indexOf, isTakingOverNodeOwnership, removeAll, setModified, toArray, toArray, updateExpression
fireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setName, setOwner, toString
getExtension
public VectorDataNode getVectorDataNode()
public final Placemark getPlacemark(org.opengis.feature.simple.SimpleFeature feature)
public boolean add(Placemark placemark)
ProductNodeGroup
add
in class ProductNodeGroup<Placemark>
placemark
- the node to be added, ignored if null
public void add(int index, Placemark placemark)
ProductNodeGroup
add
in class ProductNodeGroup<Placemark>
index
- the index.placemark
- the node to be added, ignored if null
public boolean remove(Placemark placemark)
ProductNodeGroup
remove
in class ProductNodeGroup<Placemark>
placemark
- the node to be removedpublic void dispose()
ProductNode
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.
dispose
in class ProductNodeGroup<Placemark>
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.