edu.uci.ics.jung.visualization.control
Interface GraphMousePlugin

All Known Implementing Classes:
AbstractGraphMousePlugin

public interface GraphMousePlugin

the interface for all plugins to the PluggableGraphMouse

Author:
Tom Nelson - RABA Technologies

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

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

Returns:
modifiers

setModifiers

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

Parameters:
modifiers -

checkModifiers

public 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