|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.text.html.HTMLEditorKit.LinkController
public static class HTMLEditorKit.LinkController
Fires the hyperlink events on the associated component when needed.
Constructor Summary | |
---|---|
HTMLEditorKit.LinkController()
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseEntered, mouseExited, mousePressed, mouseReleased |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLEditorKit.LinkController()
Method Detail |
---|
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
mouseClicked
in class MouseAdapter
e
- - the mouse eventpublic void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
e
- - the mouse event.public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
e
- - the mouse event.protected void activateLink(int pos, JEditorPane editor)
pos
- the positioneditor
- the editor pane
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |