Class FeatureSelection
- java.lang.Object
-
- com.vividsolutions.jump.workbench.ui.AbstractSelection
-
- com.vividsolutions.jump.workbench.ui.FeatureSelection
-
public class FeatureSelection extends AbstractSelection
A collection of selectedFeatures
-
-
Constructor Summary
Constructors Constructor Description FeatureSelection(SelectionManager selectionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRendererContentID()
Set<Integer>
indices(org.locationtech.jts.geom.Geometry geometry, Collection items)
Returns indices of items in geometry.List<org.locationtech.jts.geom.Geometry>
items(org.locationtech.jts.geom.Geometry geometry)
Returns a list containing the geometry itself.protected boolean
selectedInAncestors(Layer layer, Feature feature, org.locationtech.jts.geom.Geometry item)
protected void
unselectInDescendants(Layer layer, Feature feature, Collection<org.locationtech.jts.geom.Geometry> items)
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.AbstractSelection
getChild, getFeaturesWithSelectedItems, getFeaturesWithSelectedItems, getFeatureToSelectedItemCollectionMap, getFeatureToSelectedItemIndexCollectionMap, getLayersWithSelectedItems, getParent, getSelectedItemIndices, getSelectedItems, getSelectedItems, getSelectedItems, getSelectedItems, items, itemsNotSelectedInAncestors, selectItems, selectItems, selectItems, selectItems, setChild, setParent, unselectFromFeaturesWithModifiedItemCounts, unselectItem, unselectItems, unselectItems, unselectItems, unselectItems, unselectItems, unselectItems
-
-
-
-
Constructor Detail
-
FeatureSelection
public FeatureSelection(SelectionManager selectionManager)
-
-
Method Detail
-
items
public List<org.locationtech.jts.geom.Geometry> items(org.locationtech.jts.geom.Geometry geometry)
Returns a list containing the geometry itself.- Specified by:
items
in classAbstractSelection
-
indices
public Set<Integer> indices(org.locationtech.jts.geom.Geometry geometry, Collection items)
Returns indices of items in geometry.- Overrides:
indices
in classAbstractSelection
-
getRendererContentID
public String getRendererContentID()
- Specified by:
getRendererContentID
in classAbstractSelection
-
selectedInAncestors
protected boolean selectedInAncestors(Layer layer, Feature feature, org.locationtech.jts.geom.Geometry item)
- Specified by:
selectedInAncestors
in classAbstractSelection
-
unselectInDescendants
protected void unselectInDescendants(Layer layer, Feature feature, Collection<org.locationtech.jts.geom.Geometry> items)
- Specified by:
unselectInDescendants
in classAbstractSelection
-
-