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