edu.uci.ics.jung.visualization.control
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
 boolean checkModifiers(MouseEvent e)
          compare the set modifiers against those of the supplied event
 int getModifiers()
          return the mouse event modifiers that will activate this plugin
 void setModifiers(int modifiers)
          set the mouse event modifiers that will activate this plugin
 

Method Detail

getModifiers

int getModifiers()
return the mouse event modifiers that will activate this plugin

Returns:
modifiers

setModifiers

void setModifiers(int modifiers)
set the mouse event modifiers that will activate this plugin

Parameters:
modifiers -

checkModifiers

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 modifers match the event modifiers


Copyright © 2009. All Rights Reserved.