org.acm.seguin.uml
Class MethodMetricsListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.acm.seguin.uml.PopupMenuListener
          extended by org.acm.seguin.uml.MethodMetricsListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class MethodMetricsListener
extends PopupMenuListener

Create a mouse listener for a method or a field or a title

Author:
Chris Seguin

Constructor Summary
MethodMetricsListener(MethodSummary initSummary, javax.swing.JPopupMenu initMenu, javax.swing.JMenuItem initItem)
          Constructor for the MethodMetricsListener object
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          A menu item has been selected
 
Methods inherited from class org.acm.seguin.uml.PopupMenuListener
mouseEntered, mouseExited
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodMetricsListener

public MethodMetricsListener(MethodSummary initSummary,
                             javax.swing.JPopupMenu initMenu,
                             javax.swing.JMenuItem initItem)
Constructor for the MethodMetricsListener object

Parameters:
initSummary - Description of Parameter
initMenu - Description of Parameter
initItem - Description of Parameter
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
A menu item has been selected

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class PopupMenuListener
Parameters:
evt - Description of Parameter