Class AbstractSelection

    • Constructor Detail

      • AbstractSelection

        public AbstractSelection​(SelectionManager selectionManager)
    • Method Detail

      • getRendererContentID

        public abstract String getRendererContentID()
      • items

        public abstract List items​(org.locationtech.jts.geom.Geometry geometry)
      • items

        public Collection items​(org.locationtech.jts.geom.Geometry geometry,
                                Collection indices)
      • getFeatureToSelectedItemIndexCollectionMap

        public CollectionMap getFeatureToSelectedItemIndexCollectionMap​(Layer layer)
        Note that some features in the map may not have selected items.
      • getFeatureToSelectedItemCollectionMap

        public CollectionMap getFeatureToSelectedItemCollectionMap​(Layer layer)
        Note that some features in the map may not have selected items.
      • getLayersWithSelectedItems

        public Collection getLayersWithSelectedItems()
      • getFeaturesWithSelectedItems

        public Collection getFeaturesWithSelectedItems()
      • getFeaturesWithSelectedItems

        public Collection getFeaturesWithSelectedItems​(Layer layer)
      • getSelectedItems

        public Collection getSelectedItems()
      • getSelectedItems

        public Collection getSelectedItems​(Layer layer,
                                           Feature feature,
                                           org.locationtech.jts.geom.Geometry geometry)
        Parameters:
        geometry - the feature's Geometry or equivalent; that is, a clone or similar enough Geometry from which Geometries can be retrieved using the selection indices.
      • indices

        public Collection indices​(org.locationtech.jts.geom.Geometry geometry,
                                  Collection items)
      • unselectItems

        public void unselectItems​(Layer layer,
                                  CollectionMap featureToItemCollectionMap)
      • selectItems

        public void selectItems​(Layer layer,
                                CollectionMap featureToItemCollectionMap)
      • selectedInAncestors

        protected abstract boolean selectedInAncestors​(Layer layer,
                                                       Feature feature,
                                                       org.locationtech.jts.geom.Geometry item)
      • unselectInDescendants

        protected abstract void unselectInDescendants​(Layer layer,
                                                      Feature feature,
                                                      Collection items)
      • selectItems

        public void selectItems​(Layer layer,
                                Feature feature)
      • selectItems

        public void selectItems​(Layer layer,
                                Collection features)
      • unselectFromFeaturesWithModifiedItemCounts

        public void unselectFromFeaturesWithModifiedItemCounts​(Layer layer,
                                                               Collection features,
                                                               Collection oldFeatureClones)
      • unselectItems

        public void unselectItems()
      • unselectItems

        public void unselectItems​(Layer layer)
      • unselectItems

        public void unselectItems​(Layer layer,
                                  Collection features)
      • unselectItems

        public void unselectItems​(Layer layer,
                                  Feature feature)
      • unselectItem

        public void unselectItem​(Layer layer,
                                 Feature feature,
                                 int selectedItemIndex)