Interface GraphMousePlugin
-
- All Known Implementing Classes:
AbstractGraphMousePlugin,AbstractGraphMousePlugin.Selecting,AbstractPopupGraphMousePlugin,AnimatedPickingGraphMousePlugin,AnnotatingGraphMousePlugin,EdgeSelectingGraphMousePlugin,EditingGraphMousePlugin,EditingPopupGraphMousePlugin,LabelEditingGraphMousePlugin,LensKillingGraphMousePlugin,LensMagnificationGraphMousePlugin,LensRegionSelectingGraphMousePlugin,LensSelectingGraphMousePlugin,LensTranslatingGraphMousePlugin,LensVertexSelectingGraphMousePlugin,RegionSelectingGraphMousePlugin,RotatingGraphMousePlugin,SatelliteAnimatedPickingGraphMousePlugin,SatelliteRotatingGraphMousePlugin,SatelliteScalingGraphMousePlugin,SatelliteShearingGraphMousePlugin,SatelliteTranslatingGraphMousePlugin,ScalingGraphMousePlugin,SelectingGraphMousePlugin,ShearingGraphMousePlugin,TranslatingGraphMousePlugin,VertexSelectingGraphMousePlugin,ViewTranslatingGraphMousePlugin
public interface GraphMousePluginthe interface for all plugins to the PluggableGraphMouse- Author:
- Tom Nelson
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleancheckModifiers(MouseEvent e)compare the set modifiers against those of the supplied eventdefault intgetModifiersEx()default voidsetModifiers(int modifiers)
-
-
-
Method Detail
-
getModifiersEx
default int getModifiersEx()
- Returns:
- the mouse event modifiers that will activate this plugin
-
setModifiers
default void setModifiers(int modifiers)
- Parameters:
modifiers- the mouse event modifiers that will activate this plugin
-
checkModifiers
default boolean checkModifiers(MouseEvent e)
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
-
-