ej-technologies

org.gjt.jclasslib.browser
Class ConstantPoolHyperlinkListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.gjt.jclasslib.browser.ConstantPoolHyperlinkListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class ConstantPoolHyperlinkListener
extends java.awt.event.MouseAdapter

Listens for mouse clicks and manages linking into the constat pool.

Version:
$Revision: 1.6 $ $Date: 2003-08-18 08:02:07 $
Author:
Ingo Kegel

Constructor Summary
ConstantPoolHyperlinkListener(BrowserServices services, int constantPoolIndex)
          Constructor.
 
Method Summary
static void link(BrowserServices services, int constantPoolIndex)
          Link to a specific constant pool entry.
 void mouseClicked(java.awt.event.MouseEvent event)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantPoolHyperlinkListener

public ConstantPoolHyperlinkListener(BrowserServices services,
                                     int constantPoolIndex)
Constructor.

Parameters:
services - the browser services
constantPoolIndex - the index of the constant pool to lonk to.
Method Detail

mouseClicked

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

link

public static void link(BrowserServices services,
                        int constantPoolIndex)
Link to a specific constant pool entry.

Parameters:
services - browser services
constantPoolIndex - the index of the constant pool entry

ej-technologies