org.gjt.jclasslib.browser
Class ConstantPoolHyperlinkListener
java.lang.Object
|
+--java.awt.event.MouseAdapter
|
+--org.gjt.jclasslib.browser.ConstantPoolHyperlinkListener
- All Implemented Interfaces:
- EventListener, MouseListener
- public class ConstantPoolHyperlinkListener
- extends 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantPoolHyperlinkListener
public ConstantPoolHyperlinkListener(BrowserServices services,
int constantPoolIndex)
- Constructor.
- Parameters:
services - the browser servicesconstantPoolIndex - the index of the constant pool to lonk to.
mouseClicked
public void mouseClicked(MouseEvent event)
- Specified by:
mouseClicked in interface MouseListener- Overrides:
mouseClicked in class MouseAdapter
link
public static void link(BrowserServices services,
int constantPoolIndex)
- Link to a specific constant pool entry.
- Parameters:
services - browser servicesconstantPoolIndex - the index of the constant pool entry