com.sptci.echo
Class UrlListener
java.lang.Object
com.sptci.echo.UrlListener
- All Implemented Interfaces:
- Serializable, EventListener, ActionListener
- Direct Known Subclasses:
- SPTListener
public class UrlListener
- extends Object
- implements ActionListener
An action listener to open url in a new browser window.
Copyright 2006 Sans Pareil Technologies, Inc.
- Version:
- $Id: UrlListener.java 4553 2008-12-24 10:34:16Z rakesh $
- Author:
- Rakesh Vidyadharan 2006-12-27
- See Also:
- Serialized Form
|
Constructor Summary |
UrlListener(String url)
Create a new instance of the listener for the specified
url. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlListener
public UrlListener(String url)
- Create a new instance of the listener for the specified
url.
- Parameters:
url - The url to use.
actionPerformed
public void actionPerformed(ActionEvent event)
- The action listener implementation. Open a new browser window
and load
url in it.
- Specified by:
actionPerformed in interface ActionListener