Class SelectionDecorator
java.lang.Object
repast.simphony.visualization.editor.gis.SelectionDecorator
- All Implemented Interfaces:
EventListener
,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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
addSelected
(Object obj) Deprecated.Adds the specified object to the set of selected objects.void
Deprecated.Clears the set of selected objects.void
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.
-
Constructor Details
-
SelectionDecorator
public SelectionDecorator(org.geotools.map.MapContent context) Deprecated.
-
-
Method Details
-
initClass
Deprecated.Sets up the artificial selected attribute for the specified object type.- Parameters:
objClass
- the class of the object
-
addSelected
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
-