Protege 2.1.1

edu.stanford.smi.protege.util
Class TreePopupMenuMouseListener

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended byedu.stanford.smi.protege.util.PopupMenuMouseListener
          extended byedu.stanford.smi.protege.util.TreePopupMenuMouseListener
All Implemented Interfaces:
EventListener, MouseListener

public abstract class TreePopupMenuMouseListener
extends PopupMenuMouseListener

A "right mouse" popup listener for a JTree.

Author:
Ray Fergerson

Constructor Summary
TreePopupMenuMouseListener(JTree tree)
           
 
Method Summary
 void setSelection(JComponent c, int x, int y)
           
 
Methods inherited from class edu.stanford.smi.protege.util.PopupMenuMouseListener
getPopupMenu, mouseClicked, mousePressed, mouseReleased
 
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
 

Constructor Detail

TreePopupMenuMouseListener

public TreePopupMenuMouseListener(JTree tree)
Method Detail

setSelection

public void setSelection(JComponent c,
                         int x,
                         int y)
Specified by:
setSelection in class PopupMenuMouseListener

Protege 2.1.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.