public static class HTMLEditorKit.LinkController extends java.awt.event.MouseAdapter implements java.awt.event.MouseMotionListener, java.io.Serializable
| Constructor and Description |
|---|
HTMLEditorKit.LinkController()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activateLink(int pos,
javax.swing.JEditorPane editor)
If the given position represents a link, then linkActivated is called
on the JEditorPane.
|
void |
mouseClicked(java.awt.event.MouseEvent e)
Dispatched when the mouse is clicked.
|
void |
mouseDragged(java.awt.event.MouseEvent e)
Dispatched when the mouse is dragged on a component.
|
void |
mouseMoved(java.awt.event.MouseEvent e)
Dispatched when the mouse cursor has moved into the component.
|
public HTMLEditorKit.LinkController()
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class java.awt.event.MouseAdaptere - - the mouse eventpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenere - - the mouse event.public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenere - - the mouse event.protected void activateLink(int pos, javax.swing.JEditorPane editor)
pos - the positioneditor - the editor pane