Interface GraphMousePlugin
- All Known Implementing Classes:
AbstractGraphMousePlugin,AbstractPopupGraphMousePlugin,AnimatedPickingGraphMousePlugin,AnnotatingGraphMousePlugin,EditingGraphMousePlugin,EditingPopupGraphMousePlugin,LabelEditingGraphMousePlugin,LensMagnificationGraphMousePlugin,LensTranslatingGraphMousePlugin,PickingGraphMousePlugin,PluggableRendererDemo.PopupGraphMousePlugin,RotatingGraphMousePlugin,SatelliteAnimatedPickingGraphMousePlugin,SatelliteRotatingGraphMousePlugin,SatelliteScalingGraphMousePlugin,SatelliteShearingGraphMousePlugin,SatelliteTranslatingGraphMousePlugin,ScalingGraphMousePlugin,ShearingGraphMousePlugin,TranslatingGraphMousePlugin,ViewTranslatingGraphMousePlugin
public interface GraphMousePlugin
the interface for all plugins to the PluggableGraphMouse
- Author:
- Tom Nelson
-
Method Summary
Modifier and TypeMethodDescriptionbooleancompare the set modifiers against those of the supplied eventintvoidsetModifiers(int modifiers)
-
Method Details
-
getModifiers
int getModifiers()- Returns:
- the mouse event modifiers that will activate this plugin
-
setModifiers
void setModifiers(int modifiers) - Parameters:
modifiers- the mouse event modifiers that will activate this plugin
-
checkModifiers
compare the set modifiers against those of the supplied event- Parameters:
e- an event to compare to- Returns:
- whether the member modifiers match the event modifiers
-