public class TrackPointDescriptor extends PointPlacemarkDescriptor
PROPERTY_NAME_DEFAULT_GEOMETRY, PROPERTY_NAME_PLACEMARK_DESCRIPTOR
Constructor and Description |
---|
TrackPointDescriptor() |
Modifier and Type | Method and Description |
---|---|
DecodeQualification |
getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType)
Gets the compatibility for the given
featureType with respect to the placemarks created by this descriptor. |
static TrackPointDescriptor |
getInstance() |
String |
getRoleLabel() |
String |
getRoleName() |
void |
setUserDataOf(org.opengis.feature.simple.SimpleFeatureType compatibleFeatureType)
Asks the descriptor to set any application specific information in the feature type's user data.
|
getBaseFeatureType
createPlacemark, getCursorHotSpot, getCursorImage, getPlacemarkGroup, getShowLayerCommandId, updateGeoPos, updatePixelPos
public static TrackPointDescriptor getInstance()
public DecodeQualification getCompatibilityFor(org.opengis.feature.simple.SimpleFeatureType featureType)
PlacemarkDescriptor
featureType
with 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 the featureType
's
user data which may be set by
PlacemarkDescriptor.setUserDataOf(org.opengis.feature.simple.SimpleFeatureType)
.
The method may return DecodeQualification.SUITABLE
, if the
PlacemarkDescriptor.createPlacemark(org.opengis.feature.simple.SimpleFeature)
method can successfully create a new placemark from a feature having the compatible featureType
.
getCompatibilityFor
in interface PlacemarkDescriptor
getCompatibilityFor
in class AbstractPlacemarkDescriptor
featureType
- The feature type to be tested.true
, if the featureType
is compatible.public void setUserDataOf(org.opengis.feature.simple.SimpleFeatureType compatibleFeatureType)
PlacemarkDescriptor
DecodeQualification.INTENDED
or
DecodeQualification.SUITABLE
by consulting the method PlacemarkDescriptor.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 return DecodeQualification.INTENDED
after e.g. data has been deserialized from a persistent data store.
setUserDataOf
in interface PlacemarkDescriptor
setUserDataOf
in class AbstractPlacemarkDescriptor
compatibleFeatureType
- A compatible feature type whose user data may or may not be altered.public String getRoleName()
public String getRoleLabel()
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.