|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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
| 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 |
public void addFeatureModifier(Feature feature,
FeatureModifier modifier)
FeatureModifier to a particular feature,
or replaces the existing one if there already is one
feature - the Feature to which to add the FeatureModifier.modifier - the FeatureModifier to addpublic void removeFeatureModifier(Feature feature)
FeatureModifier from a particular feature.
feature - the Feature from which to remove the FeatureModifier.public void addMouseFeatureListener(MouseFeatureListener listener)
MouseFeatureListener.
listener - the MouseFeatureListener to be registered.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||