Class TrackPointDescriptor
- All Implemented Interfaces:
PlacemarkDescriptor
-
Field Summary
Fields inherited from class org.esa.snap.core.datamodel.AbstractPlacemarkDescriptor
PROPERTY_NAME_DEFAULT_GEOMETRY, PROPERTY_NAME_PLACEMARK_DESCRIPTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType) Gets the compatibility for the givenfeatureTypewith respect to the placemarks created by this descriptor.static TrackPointDescriptorvoidsetUserDataOf(org.opengis.feature.simple.SimpleFeatureType compatibleFeatureType) Asks the descriptor to set any application specific information in the feature type's user data.Methods inherited from class org.esa.snap.core.datamodel.PointPlacemarkDescriptor
getBaseFeatureTypeMethods inherited from class org.esa.snap.core.datamodel.AbstractPlacemarkDescriptor
createPlacemark, getCursorHotSpot, getCursorImage, getPlacemarkGroup, getShowLayerCommandId, updateGeoPos, updatePixelPos
-
Constructor Details
-
TrackPointDescriptor
public TrackPointDescriptor()
-
-
Method Details
-
getInstance
-
getCompatibilityFor
public DecodeQualification getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType) Description copied from interface:PlacemarkDescriptorGets the compatibility for the givenfeatureTypewith respect to the placemarks created by this descriptor.The method shall only return
DecodeQualification.INTENDED, if the descriptor was designed for interpreting the given feature type, e.g. by inspecting thefeatureType's user data which may be set byPlacemarkDescriptor.setUserDataOf(org.opengis.feature.simple.SimpleFeatureType).The method may return
DecodeQualification.SUITABLE, if thePlacemarkDescriptor.createPlacemark(org.opengis.feature.simple.SimpleFeature)method can successfully create a new placemark from a feature having the compatiblefeatureType.- Specified by:
getCompatibilityForin interfacePlacemarkDescriptor- Overrides:
getCompatibilityForin classAbstractPlacemarkDescriptor- Parameters:
featureType- The feature type to be tested.- Returns:
true, if thefeatureTypeis compatible.
-
setUserDataOf
public void setUserDataOf(org.opengis.feature.simple.SimpleFeatureType compatibleFeatureType) Description copied from interface:PlacemarkDescriptorAsks the descriptor to set any application specific information in the feature type's user data. When called, the framework has already classified the given feature type as beingDecodeQualification.INTENDEDorDecodeQualification.SUITABLEby consulting the methodPlacemarkDescriptor.getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType).Implementors of this method may consider setting specific user data that allows
PlacemarkDescriptor.getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType)to returnDecodeQualification.INTENDEDafter e.g. data has been deserialized from a persistent data store.- Specified by:
setUserDataOfin interfacePlacemarkDescriptor- Overrides:
setUserDataOfin classAbstractPlacemarkDescriptor- Parameters:
compatibleFeatureType- A compatible feature type whose user data may or may not be altered.
-
getRoleName
-
getRoleLabel
-