org.geotools.renderer.event
Interface HighlightManager


public interface HighlightManager

Describes operations that are necessary for highlighting and selection. Every Feature can either have or not have a FeatureModifier. After initialisation no Feature has a FeatureModifier at all. FeatureModifier objects can be added with the addFeatureModifier(...) method and removed with the removeFeatureModifier(...) method. In addition, MouseFeatureListener objects can be registered with the HighlightManager

Version:
$Id: HighlightManager.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Julian Elliott

Method Summary
 void addFeatureModifier(Feature feature, FeatureModifier modifier)
          Adds a FeatureModifier to a particular feature, or replaces the existing one if there already is one
 void addMouseFeatureListener(MouseFeatureListener listener)
          Registers a new MouseFeatureListener.
 void removeFeatureModifier(Feature feature)
          Removes the FeatureModifier from a particular feature.
 

Method Detail

addFeatureModifier

public void addFeatureModifier(Feature feature,
                               FeatureModifier modifier)
Adds a FeatureModifier to a particular feature, or replaces the existing one if there already is one

Parameters:
feature - the Feature to which to add the FeatureModifier.
modifier - the FeatureModifier to add

removeFeatureModifier

public void removeFeatureModifier(Feature feature)
Removes the FeatureModifier from a particular feature.

Parameters:
feature - the Feature from which to remove the FeatureModifier.

addMouseFeatureListener

public void addMouseFeatureListener(MouseFeatureListener listener)
Registers a new MouseFeatureListener.

Parameters:
listener - the MouseFeatureListener to be registered.


Copyright © GeoTools. All Rights Reserved.