org.argouml.ui.explorer
Class ExplorerTree.NavigatorMouseListener

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended byorg.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.


Field Summary
private  JTree mLTree
           
 
Constructor Summary
ExplorerTree.NavigatorMouseListener(JTree newtree)
           
 
Method Summary
 void mouseClicked(MouseEvent me)
          brings up the pop-up menu
 void mousePressed(MouseEvent me)
          brings up the pop-up menu
 void mouseReleased(MouseEvent me)
          Brings up the pop-up menu.
 void showPopupMenu(MouseEvent me)
          builds a pop-up menu for extra functionality for the Tree
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mLTree

private JTree mLTree
Constructor Detail

ExplorerTree.NavigatorMouseListener

public ExplorerTree.NavigatorMouseListener(JTree newtree)
Method Detail

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



ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook