Package jadex.base.gui.asynctree
Class TreePopupListener
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- jadex.base.gui.asynctree.TreePopupListener
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.util.EventListener
public class TreePopupListener extends java.awt.event.MouseAdapter
A mouse listener to add popup-menus to a component tree. Uses the actions given by the selected nodes.
-
-
Constructor Summary
Constructors Constructor Description TreePopupListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doPopup(java.awt.event.MouseEvent e)
Open a popup menu.void
mouseClicked(java.awt.event.MouseEvent e)
void
mousePressed(java.awt.event.MouseEvent e)
void
mouseReleased(java.awt.event.MouseEvent e)
-
-
-
Method Detail
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classjava.awt.event.MouseAdapter
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classjava.awt.event.MouseAdapter
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Overrides:
mouseClicked
in classjava.awt.event.MouseAdapter
-
doPopup
protected boolean doPopup(java.awt.event.MouseEvent e)
Open a popup menu.
-
-