|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.event.MouseAdapter | +--javax.swing.text.html.HTMLEditorKit.LinkController
Class to watch the associated component and fire hyperlink events on it when appropriate.
Constructor Summary | |
HTMLEditorKit.LinkController()
|
Method Summary | |
protected void |
activateLink(int pos,
JEditorPane html)
Calls linkActivated on the associated JEditorPane if the given position represents a link. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Called for a mouse click event. |
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(java.awt.event.MouseEvent e)
e
- the mouse eventMouseListener.mouseClicked(java.awt.event.MouseEvent)
protected void activateLink(int pos, JEditorPane html)
pos
- the positionhtml
- the editor pane
|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |