public abstract class NFEFeatureLayer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_Z_ORDER
Z order property
|
Constructor and Description |
---|
NFEFeatureLayer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addAttributeDescriptor(NFEAttributeDescriptor attrDescriptor)
Sets an attribute descriptor for the given attribute's name
|
abstract boolean |
addFeature(NFEFeature feature)
Adds a feature to the feature layer.
|
abstract boolean |
addFeatureClass(NFEFeatureClass featureClass)
Adds a Feature Class instance to the Feature Layer.
|
abstract void |
addModelListener(NFEModelListener listener) |
abstract boolean |
containsFeature(NFEFeature feature)
Tells whether the feature layer contains the given feature
|
abstract NFEFeatureLayer |
createCopy()
Returns object copy.
|
abstract NFEAttributeDescriptor |
getAttributeDescriptor(java.lang.String attrName)
Gets the attribute descriptor for the given attribute's name
|
abstract java.util.Collection<NFEAttributeDescriptor> |
getAttributeDescriptors()
Gets all the attribute descriptors of the feature layer
|
abstract NFEEventDispatcher<NFEModelListener> |
getEventDispatcher()
Returns the event dispatcher.
|
abstract NFEFeature |
getFeature(long featureId)
Gets a feature identified by the given ID contained in the feature layer
|
abstract NFEFeatureClass |
getFeatureClass(long featureClassId)
Gets a feature class which belongs on this feature layer.
|
abstract java.util.Collection<NFEFeatureClass> |
getFeatureClasses()
Gets the feature classes defined for this feature layer
|
abstract java.util.Collection<NFEFeatureClass> |
getFeatureClasses(NFEFeatureShape shape)
Gets all the feature classes matching the given shape from the feature layer
|
abstract java.util.Collection<NFEFeature> |
getFeatures()
Gets all the features in the feature layer.
|
abstract java.util.Collection<NFEFeature> |
getFeatures(long featureClassId)
Gets all the features with the given Feature Class in the Feature Layer.
|
abstract int |
getHierarchyLevel()
Gets the hierarchy level of the feature layer
|
abstract long |
getId()
Gets the id of the feature layer
|
abstract NFEFeatureLayerMetadata |
getMetadata()
Gets the feature layer's metadata
|
abstract java.lang.String |
getName()
Gets the name of the feature layer
|
abstract NFENetwork |
getNetwork()
Gets the feature layer's network
|
abstract FeatureLayerMetadata.FeatureLayerType |
getType()
Gets the feature layer type
|
abstract int |
getZOrder()
Gets the Z order of the feature layer
|
abstract NFEAttributeDescriptor |
removeAttributeDescriptor(java.lang.String attrName)
Removes the attribute descriptor with the given attribute's name
|
abstract NFEFeature |
removeFeature(long featureId)
Removes a feature identified by the given ID from the feature layer
|
abstract NFEFeatureClass |
removeFeatureClass(long featureClassId)
Removes a feature class identified by the given ID from the feature layer
|
abstract void |
removeModelListener(NFEModelListener listener) |
abstract void |
setEventDispatcher(NFEEventDispatcher<NFEModelListener> eventDispatcher)
Sets the event dispatcher.
|
abstract void |
setHierarchyLevel(int hierarchyLevel)
Sets the Hierarchy Level of the feature layer
|
abstract void |
setId(long id)
Sets the ID of the feature layer
|
abstract void |
setMetadata(NFEFeatureLayerMetadata metadata)
Sets the feature layer's metadata
|
abstract void |
setName(java.lang.String name)
Sets the name of the feature layer
|
abstract void |
setNetwork(NFENetwork network)
Sets the feature layer's network
|
abstract void |
setType(FeatureLayerMetadata.FeatureLayerType type)
Sets the feature layer type
|
abstract void |
setZOrder(int zOrder)
Sets the Z order for the feature layer.
|
public static final java.lang.String PROP_Z_ORDER
public abstract void setId(long id)
id
- the feature layer's IDpublic abstract long getId()
public abstract void setName(java.lang.String name)
name
- the feature layer's namepublic abstract java.lang.String getName()
public abstract void setNetwork(NFENetwork network)
network
- a network instancepublic abstract NFENetwork getNetwork()
public abstract NFEFeatureLayerMetadata getMetadata()
public abstract void setMetadata(NFEFeatureLayerMetadata metadata)
metadata
- the feature layer's metadatapublic abstract void setType(FeatureLayerMetadata.FeatureLayerType type)
type
- feature layer typepublic abstract FeatureLayerMetadata.FeatureLayerType getType()
public abstract void setZOrder(int zOrder)
zOrder
- Z order valuepublic abstract int getZOrder()
public abstract void setEventDispatcher(NFEEventDispatcher<NFEModelListener> eventDispatcher)
eventDispatcher
- event dispatcherpublic abstract NFEEventDispatcher<NFEModelListener> getEventDispatcher()
public abstract int getHierarchyLevel()
public abstract void setHierarchyLevel(int hierarchyLevel)
hierarchyLevel
- the feature layer's hierarchy levelpublic abstract java.util.Collection<NFEAttributeDescriptor> getAttributeDescriptors()
public abstract NFEAttributeDescriptor getAttributeDescriptor(java.lang.String attrName)
attrName
- a name of a feature layer's attributepublic abstract void addAttributeDescriptor(NFEAttributeDescriptor attrDescriptor)
attrDescriptor
- an attribute descriptor instancepublic abstract NFEAttributeDescriptor removeAttributeDescriptor(java.lang.String attrName)
attrName
- a name of a feature layer's attributepublic abstract java.util.Collection<NFEFeature> getFeatures()
public abstract java.util.Collection<NFEFeature> getFeatures(long featureClassId)
featureClassId
-public abstract boolean addFeature(NFEFeature feature)
feature
- a feature instancepublic abstract boolean containsFeature(NFEFeature feature)
feature
- a feature instancepublic abstract NFEFeature getFeature(long featureId)
featureId
- a feature IDpublic abstract NFEFeature removeFeature(long featureId)
featureId
- a feature IDpublic abstract java.util.Collection<NFEFeatureClass> getFeatureClasses()
public abstract NFEFeatureClass getFeatureClass(long featureClassId)
featureClassId
- a feature class IDpublic abstract boolean addFeatureClass(NFEFeatureClass featureClass)
featureClass
- a feature class instancepublic abstract NFEFeatureClass removeFeatureClass(long featureClassId)
featureClassId
-public abstract java.util.Collection<NFEFeatureClass> getFeatureClasses(NFEFeatureShape shape)
shape
- a feature shape typepublic abstract void addModelListener(NFEModelListener listener)
public abstract void removeModelListener(NFEModelListener listener)
public abstract NFEFeatureLayer createCopy()