Class AbstractPopupGraphMousePlugin
- java.lang.Object
-
- org.jungrapht.visualization.control.AbstractGraphMousePlugin
-
- org.jungrapht.visualization.control.AbstractPopupGraphMousePlugin
-
- All Implemented Interfaces:
MouseListener
,EventListener
,GraphMousePlugin
- Direct Known Subclasses:
EditingPopupGraphMousePlugin
public abstract class AbstractPopupGraphMousePlugin extends AbstractGraphMousePlugin implements MouseListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
AbstractGraphMousePlugin.Selecting
-
-
Field Summary
Fields Modifier and Type Field Description protected int
modifiers
-
Fields inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
cursor, down
-
-
Constructor Summary
Constructors Constructor Description AbstractPopupGraphMousePlugin()
AbstractPopupGraphMousePlugin(int modifiers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
handlePopup(MouseEvent e)
void
mouseClicked(MouseEvent e)
void
mouseEntered(MouseEvent e)
void
mouseExited(MouseEvent e)
void
mousePressed(MouseEvent e)
void
mouseReleased(MouseEvent e)
if this is the popup trigger, process here, otherwise defer to the superclass-
Methods inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiersEx, setCursor, setModifiers
-
-
-
-
Method Detail
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
public void mouseReleased(MouseEvent e)
if this is the popup trigger, process here, otherwise defer to the superclass- Specified by:
mouseReleased
in interfaceMouseListener
-
handlePopup
protected abstract void handlePopup(MouseEvent e)
-
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interfaceMouseListener
-
-