public class ConstantPoolHyperlinkListener extends MouseAdapter
Constructor and Description |
---|
ConstantPoolHyperlinkListener(BrowserServices services,
int constantPoolIndex)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
link(BrowserServices services,
int constantPoolIndex)
Link to a specific constant pool entry.
|
void |
mouseClicked(MouseEvent event) |
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
public ConstantPoolHyperlinkListener(BrowserServices services, int constantPoolIndex)
services
- the browser servicesconstantPoolIndex
- the index of the constant pool to lonk to.public void mouseClicked(MouseEvent event)
mouseClicked
in interface MouseListener
mouseClicked
in class MouseAdapter
public static void link(BrowserServices services, int constantPoolIndex)
services
- browser servicesconstantPoolIndex
- the index of the constant pool entry