|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.event.MouseAdapter | +--com.smardec.asc.hyperlink.HyperlinkMouseAdapter
MouseAdapter
that opens internet browser on mouse click.
Constructor Summary | |
HyperlinkMouseAdapter(java.lang.String url)
Creates HyperlinkMouseAdapter instance with the specified url. |
Method Summary | |
java.lang.String |
getUrl()
Returns url string. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Invoked when the mouse has been clicked on a component. |
void |
setUrl(java.lang.String url)
Sets url string. |
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 HyperlinkMouseAdapter(java.lang.String url)
HyperlinkMouseAdapter
instance with the specified url.
url
- url to openMethod Detail |
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- url stringpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class java.awt.event.MouseAdapter
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |