kaos.kpat.policyTemplates.editor
Class PopupMenuController
java.lang.Object
java.awt.event.MouseAdapter
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.
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 |
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