Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflui.workbench
Class ScavengerTreePopupHandler  view ScavengerTreePopupHandler download ScavengerTreePopupHandler.java

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended byorg.embl.ebi.escience.scuflui.workbench.ScavengerTreePopupHandler
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener

public class ScavengerTreePopupHandler
extends java.awt.event.MouseAdapter

A class to handle popup menus on nodes on the ScavengerTree tree


Field Summary
private  ScavengerTree scavenger
           
 
Constructor Summary
ScavengerTreePopupHandler(ScavengerTree theTree)
           
 
Method Summary
(package private)  void doEvent(java.awt.event.MouseEvent e)
          If the popup was over a ProcessorFactory implementation then present the 'add' option to the user
 void mousePressed(java.awt.event.MouseEvent e)
          Handle the mouse pressed event in case this is the platform specific trigger for a popup menu
 void mouseReleased(java.awt.event.MouseEvent e)
          Similarly handle the mouse released event
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scavenger

private ScavengerTree scavenger
Constructor Detail

ScavengerTreePopupHandler

public ScavengerTreePopupHandler(ScavengerTree theTree)
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Handle the mouse pressed event in case this is the platform specific trigger for a popup menu


mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Similarly handle the mouse released event


doEvent

void doEvent(java.awt.event.MouseEvent e)
If the popup was over a ProcessorFactory implementation then present the 'add' option to the user