Package jadex.commons.gui.jtreetable
Class TreeTablePopupListener
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- jadex.commons.gui.jtreetable.TreeTablePopupListener
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.util.EventListener
public class TreeTablePopupListener extends java.awt.event.MouseAdapter
A mouse listener to add popup-menus to tree tables. Uses the actions given by the type of the selected tree table node.
-
-
Constructor Summary
Constructors Constructor Description TreeTablePopupListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
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 void doPopup(java.awt.event.MouseEvent e)
Open a popup menu.
-
-