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 removedDecorates 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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addHighightRules()
Deprecated.void
addSelected(Object obj)
Deprecated.Adds the specified object to the set of selected objects.void
clearSelected()
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
removeHighlightRules()
Deprecated.Removes the highlight rules from the styles.
-
-
-
Method Detail
-
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 interfaceorg.geotools.map.MapLayerListListener
-
layerChanged
public void layerChanged(org.geotools.map.MapLayerListEvent event)
Deprecated.- Specified by:
layerChanged
in interfaceorg.geotools.map.MapLayerListListener
-
layerMoved
public void layerMoved(org.geotools.map.MapLayerListEvent event)
Deprecated.- Specified by:
layerMoved
in interfaceorg.geotools.map.MapLayerListListener
-
layerRemoved
public void layerRemoved(org.geotools.map.MapLayerListEvent event)
Deprecated.- Specified by:
layerRemoved
in interfaceorg.geotools.map.MapLayerListListener
-
layerPreDispose
public void layerPreDispose(org.geotools.map.MapLayerListEvent arg0)
Deprecated.- Specified by:
layerPreDispose
in interfaceorg.geotools.map.MapLayerListListener
-
-