org.argouml.ui.explorer
Class ExplorerTree.NavigatorMouseListener
java.lang.Object
java.awt.event.MouseAdapter
org.argouml.ui.explorer.ExplorerTree.NavigatorMouseListener
- All Implemented Interfaces:
- EventListener, MouseListener
- Enclosing class:
- ExplorerTree
- class ExplorerTree.NavigatorMouseListener
- extends MouseAdapter
Listens to mouse events coming from the *JTree*,
on right click, brings up the pop-up menu.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mLTree
private JTree mLTree
ExplorerTree.NavigatorMouseListener
public ExplorerTree.NavigatorMouseListener(JTree newtree)
mousePressed
public void mousePressed(MouseEvent me)
- brings up the pop-up menu
mouseReleased
public void mouseReleased(MouseEvent me)
- Brings up the pop-up menu.
On Windows and Motif platforms, the user brings up a popup menu
by releasing the right mouse button while the cursor is over a
component that is popup-enabled.
mouseClicked
public void mouseClicked(MouseEvent me)
- brings up the pop-up menu
showPopupMenu
public void showPopupMenu(MouseEvent me)
- builds a pop-up menu for extra functionality for the Tree