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

Quick Search    Search Deep

org.greenstone.gatherer.gui
Class CollectionPane.MouseListenerImpl  view CollectionPane.MouseListenerImpl download CollectionPane.MouseListenerImpl.java

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended byorg.greenstone.gatherer.gui.CollectionPane.MouseListenerImpl
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener
Enclosing class:
CollectionPane

private class CollectionPane.MouseListenerImpl
extends java.awt.event.MouseAdapter

This class listens for mouse clicks and responds right mouse button clicks (popup menu).


Constructor Summary
private CollectionPane.MouseListenerImpl()
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent event)
          Any subclass of MouseAdapter can override this method to respond to mouse click events.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionPane.MouseListenerImpl

private CollectionPane.MouseListenerImpl()
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent event)
Any subclass of MouseAdapter can override this method to respond to mouse click events. In this case we want to open a pop-up menu if we detect a right mouse click over one of our registered components, and start an external application if someone double clicks on a certain file record.