kaos.kpat.policyTemplates.editor
Class PopupMenuController

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by kaos.kpat.policyTemplates.editor.PopupMenuController
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener

public class PopupMenuController
extends java.awt.event.MouseAdapter

Convience class for making popup windows.


Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void setComponent(java.awt.Component component)
           
 void setListener(java.awt.event.ActionListener listener)
           
 void setMenuItems(java.lang.String[] itemNames)
           
 
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
 

Method Detail

setComponent

public void setComponent(java.awt.Component component)

setListener

public void setListener(java.awt.event.ActionListener listener)

setMenuItems

public void setMenuItems(java.lang.String[] itemNames)

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener
Overrides:
mouseReleased in class java.awt.event.MouseAdapter

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class java.awt.event.MouseAdapter