|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--guk.editIM.Hyperactive
taken from an example in the Java Swing documentation (otherwise, I would not have been handling frames here...). Added some ToolTips with current / touched URL myself.
| Field Summary | |
(package private) javax.swing.JComponent |
compo
The component which bears our ToolTip. |
(package private) java.lang.String |
lastURL
The currently displaying URL. |
| Constructor Summary | |
Hyperactive(javax.swing.JComponent target)
The constructor needs to know a target, so that the object can update the target ToolTip when the user clicks on or points at an hyperlink. |
|
| Method Summary | |
void |
hyperlinkUpdate(javax.swing.event.HyperlinkEvent e)
Whenever the user clicks on, points at, or stops to point at an hyperlink, this is triggered. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
javax.swing.JComponent compo
java.lang.String lastURL
| Constructor Detail |
public Hyperactive(javax.swing.JComponent target)
target - Something that can have a ToolTip.| Method Detail |
public void hyperlinkUpdate(javax.swing.event.HyperlinkEvent e)
hyperlinkUpdate in interface javax.swing.event.HyperlinkListenere - The hyperlink event which tells us which URL the
user touched or triggered and what he did with that hyperlink.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||