14 |
|
|
15 |
package skrueger.geotools.selection; |
package skrueger.geotools.selection; |
16 |
|
|
|
import java.util.Collection; |
|
|
import java.util.HashSet; |
|
|
import java.util.Set; |
|
|
import java.util.Vector; |
|
|
|
|
|
import org.apache.log4j.Logger; |
|
17 |
import org.geotools.feature.Feature; |
import org.geotools.feature.Feature; |
|
import org.geotools.filter.AbstractFilterImpl; |
|
|
import org.geotools.styling.Style; |
|
|
import org.opengis.filter.Filter; |
|
18 |
|
|
|
import schmitzm.geotools.feature.FeatureUtil; |
|
19 |
import skrueger.geotools.StyledFeatureCollectionInterface; |
import skrueger.geotools.StyledFeatureCollectionInterface; |
20 |
import skrueger.geotools.StyledFeatureSourceInterface; |
import skrueger.geotools.StyledFeatureSourceInterface; |
21 |
|
import skrueger.geotools.StyledFeaturesInterface; |
22 |
import com.vividsolutions.jts.geom.Envelope; |
import skrueger.geotools.StyledLayerInterface; |
23 |
|
|
24 |
/** |
/** |
25 |
* This manager holds a set of {@link Feature Features} which are <i>selected</i> |
* This manager holds a set of {@link Feature Features} which are <i>selected</i> |
26 |
* in a {@link StyledMapInterface} ({@link StyledFeatureCollectionInterface} or |
* in a {@link StyledLayerInterface} ({@link StyledFeatureCollectionInterface} or |
27 |
* {@link StyledFeatureSourceInterface}). |
* {@link StyledFeatureSourceInterface}). |
28 |
* @author <a href="mailto:[email protected]">Martin Schmitz</a> (University of Bonn/Germany) |
* @author <a href="mailto:[email protected]">Martin Schmitz</a> (University of Bonn/Germany) |
29 |
*/ |
*/ |
30 |
public class StyledFeatureLayerSelectionModel extends StyledLayerSelectionModel<String> { |
public class StyledFeatureLayerSelectionModel extends StyledLayerSelectionModel<String> { |
31 |
/** |
/** |
32 |
* Creates a new selection model. |
* Creates a new selection model. |
33 |
* @param styledMap styled map the selection is controlled of |
* @param styledLayer styled map the selection is controlled of |
|
*/ |
|
|
public StyledFeatureLayerSelectionModel(StyledFeatureCollectionInterface styledMap) { |
|
|
super(styledMap); |
|
|
} |
|
|
|
|
|
/** |
|
|
* Creates a new selection model. |
|
|
* @param styledMap styled map the selection is controlled of |
|
34 |
*/ |
*/ |
35 |
public StyledFeatureLayerSelectionModel(StyledFeatureSourceInterface styledMap) { |
public StyledFeatureLayerSelectionModel(StyledFeaturesInterface styledLayer) { |
36 |
super(styledMap); |
super(styledLayer); |
37 |
} |
} |
38 |
|
|
39 |
|
|