| org.geotools.feature.iso.FeatureImpl org.geotools.feature.iso.collection.FeatureState
FeatureState | public class FeatureState extends FeatureImpl (Code) | | This is *not* a Feature - it is a Delegate used by FeatureCollection
implementations as "mix-in", provides implementation of featureCollection
events, featureType, and attribute access.
To use cut&paste the following code exactly:
On the bright side this means we can "fix" all the FeatureCollection implementations
in one fell-swoop.
author: Jody Garnett, Refractions Reserach, Inc. since: GeoTools 2.2 |
data | protected FeatureCollection data(Code) | | The data.
|
listeners | protected List listeners(Code) | | Internal listener storage list
|
FeatureState | protected FeatureState(Collection values, AttributeDescriptor desc, String id, FeatureCollection data)(Code) | | |
FeatureState | protected FeatureState(Collection values, FeatureType type, String id, FeatureCollection data)(Code) | | |
addListener | public void addListener(CollectionListener listener)(Code) | | Adds a listener for collection events.
Parameters: listener - The listener to add |
boundsAttribute | protected BoundingBoxAttribute boundsAttribute()(Code) | | Accessor for getting bouding box attribute.
|
fireChange | protected void fireChange(Feature[] features, int type)(Code) | | To let listeners know that something has changed.
|
fireChange | protected void fireChange(Feature feature, int type)(Code) | | |
getBounds | public BoundingBox getBounds()(Code) | | Gets the bounding box for the features in this feature collection.
the envelope of the geometries contained by this featurecollection. |
isFeatures | public static boolean isFeatures(Collection stuff)(Code) | | Test if collection is all features!
|
removeListener | public void removeListener(CollectionListener listener)(Code) | | Removes a listener for collection events.
Parameters: listener - The listener to remove |
|
|