Class SelectionDecorator

java.lang.Object
repast.simphony.visualization.editor.gis.SelectionDecorator
All Implemented Interfaces:
EventListener, org.geotools.map.MapLayerListListener

public class SelectionDecorator extends Object implements org.geotools.map.MapLayerListListener
Deprecated.
2D piccolo based code is being removed
Decorates selected features with a highlight. This is done by adding a rule to the style for selection.
Author:
Nick Collier
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelectionDecorator(org.geotools.map.MapContent context)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
     
    void
    Deprecated.
    Adds the specified object to the set of selected objects.
    void
    Deprecated.
    Clears the set of selected objects.
    void
    initClass(Class objClass)
    Deprecated.
    Sets up the artificial selected attribute for the specified object type.
    void
    layerAdded(org.geotools.map.MapLayerListEvent event)
    Deprecated.
     
    void
    layerChanged(org.geotools.map.MapLayerListEvent event)
    Deprecated.
     
    void
    layerMoved(org.geotools.map.MapLayerListEvent event)
    Deprecated.
     
    void
    layerPreDispose(org.geotools.map.MapLayerListEvent arg0)
    Deprecated.
     
    void
    layerRemoved(org.geotools.map.MapLayerListEvent event)
    Deprecated.
     
    void
    Deprecated.
    Removes the highlight rules from the styles.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SelectionDecorator

      public SelectionDecorator(org.geotools.map.MapContent context)
      Deprecated.
  • Method Details

    • initClass

      public void initClass(Class objClass)
      Deprecated.
      Sets up the artificial selected attribute for the specified object type.
      Parameters:
      objClass - the class of the object
    • addSelected

      public void addSelected(Object obj)
      Deprecated.
      Adds the specified object to the set of selected objects.
      Parameters:
      obj - the object to add
    • clearSelected

      public void clearSelected()
      Deprecated.
      Clears the set of selected objects.
    • removeHighlightRules

      public void removeHighlightRules()
      Deprecated.
      Removes the highlight rules from the styles.
    • addHighightRules

      public void addHighightRules()
      Deprecated.
    • layerAdded

      public void layerAdded(org.geotools.map.MapLayerListEvent event)
      Deprecated.
      Specified by:
      layerAdded in interface org.geotools.map.MapLayerListListener
    • layerChanged

      public void layerChanged(org.geotools.map.MapLayerListEvent event)
      Deprecated.
      Specified by:
      layerChanged in interface org.geotools.map.MapLayerListListener
    • layerMoved

      public void layerMoved(org.geotools.map.MapLayerListEvent event)
      Deprecated.
      Specified by:
      layerMoved in interface org.geotools.map.MapLayerListListener
    • layerRemoved

      public void layerRemoved(org.geotools.map.MapLayerListEvent event)
      Deprecated.
      Specified by:
      layerRemoved in interface org.geotools.map.MapLayerListListener
    • layerPreDispose

      public void layerPreDispose(org.geotools.map.MapLayerListEvent arg0)
      Deprecated.
      Specified by:
      layerPreDispose in interface org.geotools.map.MapLayerListListener